mirror of
https://github.com/loot/yaml-cpp.git
synced 2026-07-27 14:13:42 -07:00
Added more natural ways to parse boolean values (based on the YAML spec).
(Thanks to Vadim Zeitlin)
This commit is contained in:
@@ -40,6 +40,7 @@ namespace YAML
|
||||
bool Read(float& f) const;
|
||||
bool Read(double& d) const;
|
||||
bool Read(char& c) const;
|
||||
bool Read(bool& b) const;
|
||||
|
||||
// so you can specialize for other values
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user