ForkMap Class Template Reference
[Map Adaptors]

#include <lemon/maps.h>

Inherits MapBase< M1::Key, M1::Value >.

Inheritance diagram for ForkMap:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<typename M1, typename M2>
class lemon::ForkMap< M1, M2 >

This map has two writable map parameters and each write request will be passed to both of them. If M1 is also readable, then the read operations will return the corresponding values of M1.

The Key and Value will be inherited from M1. The Key and Value of M2 must be convertible from those of M1.


Public Member Functions

 ForkMap (const M1 &_m1, const M2 &_m2)
 Constructor.

Related Functions

(Note that these are not member functions.)

ForkMap< M1, M2 > forkMap (const M1 &m1, const M2 &m2)
 Returns an ForkMap class.


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