Commit 879f96d2 authored by Jesse Beder's avatar Jesse Beder
Browse files

Tweak sandbox

parent 5e0886db
...@@ -11,9 +11,10 @@ int main() ...@@ -11,9 +11,10 @@ int main()
out << YAML::BeginMap << YAML::Comment("b"); out << YAML::BeginMap << YAML::Comment("b");
out << "pens" << YAML::Comment("foo") << "a" << YAML::Comment("bar"); out << "pens" << YAML::Comment("foo") << "a" << YAML::Comment("bar");
out << "pencils" << "b"; out << "pencils" << "b";
out << YAML::EndMap; out << YAML::EndMap << YAML::Comment("monkey");
out << "item 2"; out << "item 2";
out << YAML::EndSeq; out << YAML::EndSeq;
out << YAML::Comment("end");
std::cout << out.c_str() << "\n"; std::cout << out.c_str() << "\n";
return 0; return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment