equal
deleted
inserted
replaced
111 |
111 |
112 ///Returns a \ref ConstMap class |
112 ///Returns a \ref ConstMap class |
113 |
113 |
114 ///This function just returns a \ref ConstMap class. |
114 ///This function just returns a \ref ConstMap class. |
115 ///\relates ConstMap |
115 ///\relates ConstMap |
116 template<class V,class K> |
116 template<class K,class V> |
117 inline ConstMap<V,K> constMap(const K &k) |
117 inline ConstMap<K,V> constMap(const V &v) |
118 { |
118 { |
119 return ConstMap<V,K>(k); |
119 return ConstMap<K,V>(v); |
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> |