Added append()

This commit is contained in:
beder
2011-09-09 02:51:35 -05:00
parent 255a392eb9
commit 7a1e47e03f
7 changed files with 37 additions and 1 deletions

View File

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