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