Closed GoogleCodeExporter closed 9 years ago
I might overload hash<> so it can be used in unordered_set and unordered_map.
Not sure about a comparison operator, though.
The implicit bool conversion is a problem, though, you're right.
Original comment by jbe...@gmail.com
on 13 Nov 2014 at 2:32
Overloading hash<> would work well - you could just return the internal pointer
as an integer given it uniquely identifies a node. Do you want me to submit a
patch to that effect?
Original comment by sho...@gmail.com
on 28 Dec 2014 at 8:14
This issue has moved to github: https://github.com/jbeder/yaml-cpp/issues/265
Original comment by jbe...@gmail.com
on 1 Apr 2015 at 3:30
Original issue reported on code.google.com by
sho...@gmail.com
on 13 Nov 2014 at 1:51