IdentityMap

Declared in lemon/maps.h, in the group Maps; the same class on the Doxygen site.

template< typename T >
class IdentityMap : public MapBase< T , T >

Identity map.

This read-only map gives back the given key as value without any modification.

See also

ConstMap

Public Types

typedef T Key

typedef T Value

Public Functions

inline Value operator[]( const Key & k ) const

Gives back the given value without any modification.