Added append()

This commit is contained in:
Jesse Beder
2011-09-09 02:51:35 -05:00
parent 4f8680b540
commit d3bbd08273
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;
}