iterator_fwd.h 786 B

123456789101112131415161718192021222324252627
  1. #ifndef VALUE_DETAIL_ITERATOR_FWD_H_62B23520_7C8E_11DE_8A39_0800200C9A66
  2. #define VALUE_DETAIL_ITERATOR_FWD_H_62B23520_7C8E_11DE_8A39_0800200C9A66
  3. #if defined(_MSC_VER) || \
  4. (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
  5. (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
  6. #pragma once
  7. #endif
  8. #include "yaml-cpp/dll.h"
  9. #include <list>
  10. #include <utility>
  11. #include <vector>
  12. namespace YAML {
  13. namespace detail {
  14. struct iterator_value;
  15. template <typename V>
  16. class iterator_base;
  17. }
  18. using iterator = detail::iterator_base<detail::iterator_value>;
  19. using const_iterator = detail::iterator_base<const detail::iterator_value>;
  20. }
  21. #endif // VALUE_DETAIL_ITERATOR_FWD_H_62B23520_7C8E_11DE_8A39_0800200C9A66