FalseMap Class Template Reference
[Maps]


Detailed Description

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

This read-only map assigns false to each key.

Note that

   FalseMap<K> fm;
is equivalent to
   ConstMap<K,bool> fm(false);

See also:
TrueMap

ConstMap

#include <lemon/maps.h>

Inheritance diagram for FalseMap:

Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Related Functions

(Note that these are not member functions.)

template<typename K >
FalseMap< K > falseMap ()
 Returns a FalseMap class.


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

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