Implemented block seq and block map indentation/newlines

This commit is contained in:
Jesse Beder
2012-05-21 22:14:26 -05:00
parent 35d827f187
commit 91eac5d93d
2 changed files with 67 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ int main()
out << YAML::BeginSeq;
out << "foo";
out << "bar";
out << YAML::BeginMap;
out << "a" << "b" << "c" << "d";
out << YAML::EndMap;
out << YAML::EndSeq;
std::cout << out.c_str() << "\n";