mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Added append()
This commit is contained in:
@@ -22,7 +22,11 @@ int main()
|
||||
|
||||
value["this"] = value;
|
||||
value["this"]["change"] = value;
|
||||
value["this"]["change"] = 5;
|
||||
|
||||
value["seq"] = YAML::Value(YAML::ValueType::Sequence);
|
||||
value["seq"].append(2);
|
||||
value["seq"].append(3);
|
||||
value["seq"].append("five");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user