Added more natural ways to parse boolean values (based on the YAML spec).

(Thanks to Vadim Zeitlin)
This commit is contained in:
jbeder
2008-09-25 00:15:40 +00:00
parent bf01059c38
commit d1ef1e8ef1
8 changed files with 103 additions and 10 deletions

View File

@@ -24,6 +24,7 @@ namespace YAML
virtual bool Read(float& f) const;
virtual bool Read(double& d) const;
virtual bool Read(char& c) const;
virtual bool Read(bool& b) const;
// ordering
virtual int Compare(Content *pContent);