Key
and Value
are inherited from M
. The unary -
operator must be defined for Value
, of course.
#include <lemon/maps.h>
Public Member Functions | |
NegWriteMap (M &_m) | |
Constructor. | |
Value | operator[] (Key k) const |
| |
void | set (Key k, const Value &v) |
| |
Related Functions | |
(Note that these are not member functions.) | |
template<typename M > | |
NegWriteMap< M > | negMap (M &m) |
Returns a NegWriteMap class. |