You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're iterating down a node path, you might want to reset a reference. E.g.:
YAML::Node node = /* something */;
for_each(path.begin(), path.end(), [&node](const std::string& key) {
node.reset(node[key]);
});
or maybe node.set? I was thinking node.reset to mirror a smart pointer, but
maybe set would be more natural.
Original issue reported on code.google.com by jbe...@gmail.com on 31 Jan 2013 at 6:44
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
jbe...@gmail.com
on 31 Jan 2013 at 6:44The text was updated successfully, but these errors were encountered: