![]() |
abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
|
Identity map. More...
#include <lemon/maps.h>
Public Types | |
| typedef T | Key |
| | |
| typedef T | Value |
| | |
| Public Types inherited from MapBase< T , T > | |
| typedef T | 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 &k) const |
| Gives back the given value without any modification. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| template< typename T > | |
| IdentityMap< T > | identityMap () |
Returns an IdentityMap class. | |
This read-only map gives back the given key as value without any modification.