Added writing integral types

This commit is contained in:
Jesse Beder
2012-05-22 13:57:44 -05:00
parent cc559956a0
commit c95bcae49f
3 changed files with 44 additions and 7 deletions

View File

@@ -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;