majintao0131 / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

public access to detail::node::ref for node identity #222

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
using yaml-cpp 0.5.1, there's still no way to hash on node identity (or 
otherwise detect loops in the graph) - see 
http://stackoverflow.com/questions/19743063/how-to-tell-if-ive-already-processed
-a-node

.is() is quadratic. we need an .id(). it can be hashed if you like if you want 
to prevent access to detail:: internals.

Original issue reported on code.google.com by graehl on 4 Nov 2013 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 4 Nov 2013 at 10:48

GoogleCodeExporter commented 9 years ago
This issue has moved to github: https://github.com/jbeder/yaml-cpp/issues/222

Original comment by jbe...@gmail.com on 1 Apr 2015 at 3:23