![]() |
abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
|
Constant true map.
More...
#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 Symbols | |
(Note that these are not member symbols.) | |
| template< typename K > | |
| TrueMap< K > | trueMap () |
Returns a TrueMap class. | |
This read-only map assigns true to each key.
Note that
is equivalent to