FalseMap

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

template< typename K >
class FalseMap : public MapBase< K , bool >

Constant false map.

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

See also

ConstMap

Public Types

typedef K Key

typedef bool Value

Public Functions

inline Value operator[]( const Key & ) const

Gives back false.