anchor.h 501 B

1234567891011121314151617
  1. #ifndef ANCHOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
  2. #define ANCHOR_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 <cstddef>
  9. namespace YAML {
  10. using anchor_t = std::size_t;
  11. const anchor_t NullAnchor = 0;
  12. }
  13. #endif // ANCHOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66