lemon/maps.h
changeset 1663 f6741cfab647
parent 1555 48769ac7ec32
child 1669 66ae78d29f1e
equal deleted inserted replaced
7:30c22a9bc063 8:a786e5c3f31b
   118   {
   118   {
   119     return ConstMap<V,K>(k);
   119     return ConstMap<V,K>(k);
   120   }
   120   }
   121 
   121 
   122 
   122 
   123   ///\todo 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   ///\todo 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() { }