mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Added flow seq
This commit is contained in:
@@ -4,11 +4,10 @@
|
||||
int main()
|
||||
{
|
||||
YAML::Emitter out;
|
||||
out << YAML::BeginMap;
|
||||
out << YAML::LongKey << "a" << "b";
|
||||
out << YAML::Flow;
|
||||
out << YAML::BeginSeq;
|
||||
out << "a" << "b";
|
||||
out << YAML::EndMap;
|
||||
out << YAML::EndMap;
|
||||
out << YAML::EndSeq;
|
||||
|
||||
std::cout << out.c_str() << "\n";
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user