NullMap
. #include <lemon/maps.h>
Public Member Functions | |
ConstMap () | |
Default constructor. | |
ConstMap (const T &_v) | |
Constructor with specified initial value. | |
T | operator[] (const K &) const |
| |
void | setAll (const T &t) |
| |
Related Functions | |
(Note that these are not member functions.) | |
template<typename K , typename V > | |
ConstMap< K, V > | constMap (const V &v) |
Returns a ConstMap class. | |
template<typename K , typename V , V v> | |
ConstMap< K, Const< V, v > > | constMap () |
Returns a ConstMap class with inlined value. |
ConstMap | ( | ) | [inline] |
Default constructor. The value of the map will be uninitialized. (More exactly it will be default constructed.)
ConstMap | ( | const T & | _v | ) | [inline] |
Constructor with specified initial value.
_v | is the initial value of the map. |