Node is the public handle for extracted elements. It inherits from IntrusiveMap::Item to be linkable in the tree.
Key modification is disallowed because the internal storage uses std::pair<const Key, Value> to match std::map's iterator layout. Mutating a const-qualified member via const_cast is undefined behavior.
Public Types | |
| using | key_type = Key |
| using | mapped_type = Value |
Public Member Functions | |
| Node (const Node &)=delete | |
| Node & | operator= (const Node &)=delete |
| template<typename K , typename... Args> | |
| Node (K &&key, Args &&... args) | |
| const key_type & | key () const |
| mapped_type & | mapped () |
| const mapped_type & | mapped () const |
Friends | |
| class | DynamicMap |