Read/writable map concept.
#include <lemon/concepts/maps.h>
Public Types | |
typedef K | Key |
The key type of the map. | |
typedef T | Value |
The value type of the map. (The type of objects associated with the keys). | |
![]() | |
typedef K | Key |
The key type of the map. | |
typedef T | Value |
The value type of the map. (The type of objects associated with the keys). | |
![]() | |
typedef K | Key |
The key type of the map. | |
typedef T | Value |
The value type of the map. (The type of objects associated with the keys). | |
Public Member Functions | |
Value | operator[] (const Key &) const |
Returns the value associated with the given key. | |
void | set (const Key &, const Value &) |
Sets the value associated with the given key. | |
![]() | |
Value | operator[] (const Key &) const |
Returns the value associated with the given key. | |
![]() | |
void | set (const Key &, const Value &) |
Sets the value associated with the given key. | |
WriteMap () | |
Default constructor. | |