mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
24 lines
568 B
C++
24 lines
568 B
C++
#ifndef NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
|
#define NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
|
|
|
#if !defined(__GNUC__) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4) // GCC supports "pragma once" correctly since 3.4
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
namespace YAML
|
|
{
|
|
class Node;
|
|
|
|
struct _Null {};
|
|
inline bool operator == (const _Null&, const _Null&) { return true; }
|
|
inline bool operator != (const _Null&, const _Null&) { return false; }
|
|
|
|
bool IsNull(const Node& node);
|
|
|
|
extern _Null Null;
|
|
}
|
|
|
|
#endif // NULL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
|
|