FunctorMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inherits MapBase< K, V >.

Inheritance diagram for FunctorMap:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename F, typename K = typename F::argument_type, typename V = typename F::result_type, typename NC = False>
class lemon::FunctorMap< F, K, V, NC >

This read only map returns the value of a given map.

Template parameters K and V will become its Key and Value. They must be given explicitely because a functor does not provide such typedefs.

Parameter F is the type of the used functor.


Public Member Functions

 FunctorMap (const F &_f)
 Constructor.

Related Functions

(Note that these are not member functions.)

FunctorMap< F, K, V > functorMap (const F &f)
 Returns a FunctorMap class.


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:42:22 2006 for LEMON by  doxygen 1.4.6