equal
deleted
inserted
replaced
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() { } |