We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8d9ed commit 5b04bd3Copy full SHA for 5b04bd3
1 file changed
util/api.cpp
@@ -41,7 +41,7 @@ int main() {
41
root[2] = "two"; // [0, ~, two] # forces root[1] to be initialized to null
42
43
YAML::Value other = root; // both point to the same thing
44
- other[0] = 5; // now root[0] is 0 also
+ other[0] = 5; // now root[0] is 5 also
45
other.push_back(root); // &1 [5, ~, two, *1]
46
other[3][0] = 0; // &1 [0, ~, two, *1] # since it's a true alias
47
other.push_back(Copy(root)); // &1 [0, ~, two, *1, &2 [0, ~, two, *2]]
0 commit comments