ptr.h 831 B

1234567891011121314151617181920212223242526272829
  1. #ifndef VALUE_PTR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
  2. #define VALUE_PTR_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 <memory>
  10. namespace YAML {
  11. namespace detail {
  12. class node;
  13. class node_ref;
  14. class node_data;
  15. class memory;
  16. class memory_holder;
  17. typedef std::shared_ptr<node> shared_node;
  18. typedef std::shared_ptr<node_ref> shared_node_ref;
  19. typedef std::shared_ptr<node_data> shared_node_data;
  20. typedef std::shared_ptr<memory_holder> shared_memory_holder;
  21. typedef std::shared_ptr<memory> shared_memory;
  22. }
  23. }
  24. #endif // VALUE_PTR_H_62B23520_7C8E_11DE_8A39_0800200C9A66