NullMap< K, T > Class Template Reference
[Maps]


Detailed Description

template<typename K, typename T>
class lemon::NullMap< K, T >

This map can be used if you have to provide a map only for its type definitions, or if you have to provide a writable map, but data written to it is not required (i.e. it will be sent to /dev/null). #include <lemon/maps.h>

Inheritance diagram for NullMap< K, T >:

Inheritance graph
[legend]

List of all members.

Public Member Functions

operator[] (const K &) const
 Gives back a default constructed element.
void set (const K &, const T &)
 Absorbs the value.

Related Functions

(Note that these are not member functions.)

template<typename K , typename V >
NullMap< K, V > nullMap ()
 Returns a NullMap class.


Generated on Thu Jun 4 04:05:17 2009 for LEMON by  doxygen 1.5.9