69 inline ValueType *
get(
const KeyType &key) {
70 const auto i = this->map_.find(key);
71 if(i == this->map_.end()) {
77 const auto oldIt = i->second.second;
78 if(oldIt != this->queue_.begin()) {
80 this->queue_.erase(oldIt);
81 this->queue_.push_front(key);
84 this->map_[key].second = this->queue_.begin();
88 return &i->second.first;