Added IsNull function

This commit is contained in:
jbeder
2009-07-31 05:07:21 +00:00
parent cb2b5783fa
commit 952f72233e
3 changed files with 12 additions and 5 deletions

View File

@@ -6,10 +6,14 @@
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;
}