lemon/maps.h
changeset 300 8c05947fc107
parent 220 a5d8c039f218
child 301 9db8964f0cf6
equal deleted inserted replaced
23:f3873b65f677 24:9541e07287f8
   482   ///
   482   ///
   483   /// The simplest way of using this map is through the composeMap()
   483   /// The simplest way of using this map is through the composeMap()
   484   /// function.
   484   /// function.
   485   ///
   485   ///
   486   /// \sa CombineMap
   486   /// \sa CombineMap
   487   ///
       
   488   /// \todo Check the requirements.
       
   489   template <typename M1, typename M2>
   487   template <typename M1, typename M2>
   490   class ComposeMap : public MapBase<typename M2::Key, typename M1::Value> {
   488   class ComposeMap : public MapBase<typename M2::Key, typename M1::Value> {
   491     const M1 &_m1;
   489     const M1 &_m1;
   492     const M2 &_m2;
   490     const M2 &_m2;
   493   public:
   491   public:
   538   ///
   536   ///
   539   /// The simplest way of using this map is through the combineMap()
   537   /// The simplest way of using this map is through the combineMap()
   540   /// function.
   538   /// function.
   541   ///
   539   ///
   542   /// \sa ComposeMap
   540   /// \sa ComposeMap
   543   ///
       
   544   /// \todo Check the requirements.
       
   545   template<typename M1, typename M2, typename F,
   541   template<typename M1, typename M2, typename F,
   546            typename V = typename F::result_type>
   542            typename V = typename F::result_type>
   547   class CombineMap : public MapBase<typename M1::Key, V> {
   543   class CombineMap : public MapBase<typename M1::Key, V> {
   548     const M1 &_m1;
   544     const M1 &_m1;
   549     const M2 &_m2;
   545     const M2 &_m2;