Fixed null key/value bug, added tests

This commit is contained in:
jbeder
2009-07-30 06:49:09 +00:00
parent 49265fa12b
commit cb2b5783fa
8 changed files with 87 additions and 16 deletions

View File

@@ -7,6 +7,9 @@
namespace YAML
{
struct _Null {};
inline bool operator == (const _Null&, const _Null&) { return true; }
inline bool operator != (const _Null&, const _Null&) { return false; }
extern _Null Null;
}