This read-only map assigns true
to each key.
Note that
is equivalent to
#include <lemon/maps.h>
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 true . | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename K > | |
TrueMap< K > | trueMap () |
Returns a TrueMap class. More... | |