This read-only map assigns false to each key.
Note that
is equivalent to
#include <lemon/maps.h>
Inheritance diagram for FalseMap< K >:Public Types | |
| typedef K | Key |
| | |
| typedef bool | Value |
| | |
Public Types inherited from MapBase< K, bool > | |
| typedef K | Key |
| The key type of the map. | |
| typedef bool | Value |
| The value type of the map. (The type of objects associated with the keys). | |
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. More... | |
1.8.5