TrueMap Class Template Reference
[Maps]

#include <lemon/maps.h>

Inheritance diagram for TrueMap:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<typename K>
class lemon::TrueMap< K >

This read-only map assigns true to each key.

Note that

   TrueMap<K> tm;
is equivalent to
   ConstMap<K,bool> tm(true);

See also:
FalseMap

ConstMap


Public Member Functions

Value operator[] (const Key &) const
 Gives back true.

Related Functions

(Note that these are not member functions.)

template<typename K>
TrueMap< K > trueMap ()
 Returns a TrueMap class.

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

Generated on Tue May 5 07:41:54 2009 for LEMON by  doxygen 1.5.6