IdentityMap Class Template Reference
[Maps]


Detailed Description

template<typename T>
class lemon::IdentityMap< T >

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

See also:
ConstMap
#include <lemon/maps.h>

Inheritance diagram for IdentityMap:

Inheritance graph
[legend]

List of all members.

Public Member Functions

Value operator[] (const Key &k) const
 Gives back the given value without any modification.

Related Functions

(Note that these are not member functions.)

template<typename T >
IdentityMap< T > identityMap ()
 Returns an IdentityMap class.


The documentation for this class was generated from the following file:

Generated on Sun Oct 12 20:09:49 2008 for LEMON by  doxygen 1.5.7.1