Key
and Value
are inherited from M
.
#include <lemon/maps.h>
Public Member Functions | |
ShiftWriteMap (M &_m, const C &_v) | |
Constructor. | |
Value | operator[] (Key k) const |
| |
void | set (Key k, const Value &c) |
| |
Related Functions | |
(Note that these are not member functions.) | |
template<typename M , typename C > | |
ShiftWriteMap< M, C > | shiftMap (M &m, const C &v) |
Returns a ShiftWriteMap class. |
ShiftWriteMap | ( | M & | _m, | |
const C & | _v | |||
) | [inline] |
Constructor
_m | is the undelying map | |
_v | is the shift value |