ForkMap
Declared in lemon/maps.h, in the group Map Adaptors; the same class on the Doxygen site.
-
template< typename M1 , typename M2 >
class ForkMap : public MapBase< M1::Key , M1::Value > Applies all map setting operations to two maps.
This map has two writable map parameters and each write request will be passed to both of them. If
M1is also readable, then the read operations will return the corresponding values ofM1.The
KeyandValuetypes are inherited fromM1. TheKeyandValueofM2must be convertible from those ofM1.The simplest way of using this map is through the forkMap() function.