ConstMap
Declared in lemon/maps.h, in the group Maps; the same class on the Doxygen site.
-
template< typename K , typename V >
class ConstMap : public lemon::MapBase< K , V > Constant map.
This readable map assigns a specified value to each key.
In other aspects it is equivalent to
NullMap. So it conforms to the ReadWriteMap concept, but it absorbs the data written to it.The simplest way of using this map is through the constMap() function.
See also
See also
-
template< typename K , typename V , V v >
class ConstMap< K , Const< V , v > > : public lemon::MapBase< K , V >, public lemon::MapBase< K , V > Constant map with inlined constant value.
This readable map assigns a specified value to each key.
In other aspects it is equivalent to
NullMap. So it conforms to the ReadWriteMap concept, but it absorbs the data written to it.The simplest way of using this map is through the constMap() function.
See also
See also
Public Functions
-
inline ConstMap()
Constructor.
-
inline ConstMap()