operator()
to read its values.
For the sake of convenience it also works as a ususal readable map, i.e. operator[]
and the Key
and Value
typedefs also exist.
#include <lemon/maps.h>
Public Member Functions | |
MapFunctor (const M &_m) | |
Constructor. | |
Value | operator() (Key k) const |
| |
Value | operator[] (Key k) const |
| |
Related Functions | |
(Note that these are not member functions.) | |
template<typename M > | |
MapFunctor< M > | mapFunctor (const M &m) |
Returns a MapFunctor class. |