mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Added writing integral types
This commit is contained in:
@@ -10,7 +10,7 @@ int main()
|
||||
out << YAML::Anchor("a") << YAML::Comment("anchor") << "item 1" << YAML::Comment("a");
|
||||
out << YAML::BeginMap << YAML::Comment("b");
|
||||
out << "pens" << YAML::Comment("foo") << "a" << YAML::Comment("bar");
|
||||
out << "pencils" << "b";
|
||||
out << "pencils" << 15;
|
||||
out << YAML::EndMap << YAML::Comment("monkey");
|
||||
out << "item 2";
|
||||
out << YAML::EndSeq;
|
||||
|
Reference in New Issue
Block a user