| 153 | |
| 154 | template <class K, class T> |
| 155 | T map<K,T>::get(const K& k) const { |
| 156 | if (this->empty()) return T(); |
| 157 | typename map_type::const_iterator i = cache().find(k); |
| 158 | if (i == map_->end()) return T(); |
| 159 | return i->second; |
| 160 | } |
| 161 | |
| 162 | template <class K, class T> |
| 163 | void map<K,T>::put(const K& k, const T& v) { |