src/lemon/maps.h
changeset 986 e997802b855c
parent 959 c80ef5912903
child 987 87f7c54892df
equal deleted inserted replaced
1:8ad6881ce90f 2:edc05caebb60
   102   public:
   102   public:
   103     ConstMap() { }
   103     ConstMap() { }
   104     V operator[](const K&) const { return v; }
   104     V operator[](const K&) const { return v; }
   105     void set(const K&, const V&) { }
   105     void set(const K&, const V&) { }
   106   };
   106   };
   107   //to document later
       
   108   typedef Const<bool, true> True;
       
   109   typedef Const<bool, false> False;
       
   110 
   107 
   111   /// \c std::map wrapper
   108   /// \c std::map wrapper
   112 
   109 
   113   /// This is essentially a wrapper for \c std::map. With addition that
   110   /// This is essentially a wrapper for \c std::map. With addition that
   114   /// you can specify a default value different from \c ValueType() .
   111   /// you can specify a default value different from \c ValueType() .