lemon/maps.h
changeset 1608 d1b5a3cf8331
parent 1547 dd57a540ff5f
child 1660 93792a112fd5
equal deleted inserted replaced
6:5ede8eb7e3aa 7:30c22a9bc063
   118   {
   118   {
   119     return ConstMap<V,K>(k);
   119     return ConstMap<V,K>(k);
   120   }
   120   }
   121 
   121 
   122 
   122 
   123   //to document later
   123   ///\todo to document later
   124   template<typename T, T v>
   124   template<typename T, T v>
   125   struct Const { };
   125   struct Const { };
   126   //to document later
   126   ///\todo to document later
   127   template<typename K, typename V, V v>
   127   template<typename K, typename V, V v>
   128   class ConstMap<K, Const<V, v> > : public MapBase<K, V>
   128   class ConstMap<K, Const<V, v> > : public MapBase<K, V>
   129   {
   129   {
   130   public:
   130   public:
   131     ConstMap() { }
   131     ConstMap() { }