[doc] update changelog and README

[ci skip]
This commit is contained in:
Joao Paulo Magalhaes
2022-08-14 13:59:43 +01:00
parent 06c955e147
commit 9097d26e6e
3 changed files with 173 additions and 76 deletions

View File

@@ -358,8 +358,7 @@ void sample_quick_overview()
// As implied by its name, ConstNodeRef is a reference to a const
// node. It can be used to read from the node, but not write to it
// or modify the hierarchy of the node. If any modification is
// desired then a NodeRef must be used instead, which allows
// mutation of the target node:
// desired then a NodeRef must be used instead:
ryml::NodeRef wroot = tree.rootref();
// operator= assigns an existing string to the receiving node.
@@ -443,6 +442,7 @@ void sample_quick_overview()
CHECK(root.num_children() == 9);
CHECK(root["newmap"].num_children() == 0);
CHECK(root["newmap (serialized)"].num_children() == 0);
//
// When the tree is mutable, operator[] does not mutate the tree
// until the returned node is written to.
//