@todo still not sure if this is a good idea, do we want to insert into the transformed map?
| 111 | |
| 112 | // @todo still not sure if this is a good idea, do we want to insert into the transformed map? |
| 113 | std::pair<iterator, bool> insert(const value_type& val) { |
| 114 | auto p = base_map_->insert({ val.first, transform_back_(val.second) }); |
| 115 | return { iterator(p.first, &transform_), p.second }; |
| 116 | } |
| 117 | |
| 118 | size_t erase(const key_type& key) { |
| 119 | return base_map_->erase(key); |