CombineMap

Declared in lemon/maps.h, in the group Map Adaptors; the same class on the Doxygen site.

template< typename M1 , typename M2 , typename F , typename V = typename _maps_bits::CombineValue< M1 , M2 , F >::type >
class CombineMap : public lemon::MapBase< M1::Key , typename _maps_bits::CombineValue< M1 , M2 , F >::type >

Public Types

typedef M1::Key Key

typedef V Value

Public Functions

inline CombineMap( const M1 & m1 , const M2 & m2 , const F & f = F() )

Constructor.

inline Value operator[]( const Key & k ) const