Closed bgemmill closed 5 months ago
Hi, fixed in docs, thanks for the report.
It may be worth repeating how iterators are invalidated within the standards compliance section for open addressing containers as well.
I'm reluctant to add anything there because the section lists the differences with respect to standard unordered associative containers, and the standard is very clear that iterator stability is not provided:
Thanks for closing this one out!
While unordered_node_map keeps valid pointer/references to keys, the iterators get invalidated on rehashing according to @joaquintides here
The documentation implies iterator stability:
boost::unordered_node_map uses an open-addressing layout like boost::unordered_flat_map, but, being node-based, it provides pointer/iterator stability and node handling functionalities.
It may be worth repeating how iterators are invalidated within the standards compliance section for open addressing containers as well.