Lines Matching refs:pos
103 iterator PutBefore(const_iterator pos, const K& k, const V& v) {
105 DCHECK(pos == map_.end() || map_.key_comp()(k, pos->first));
106 DCHECK(pos == map_.begin() || map_.key_comp()((--const_iterator(pos))->first, k));
107 return map_.emplace_hint(pos, k, v);
109 iterator PutBefore(const_iterator pos, const K& k, V&& v) {
111 DCHECK(pos == map_.end() || map_.key_comp()(k, pos->first));
112 DCHECK(pos == map_.begin() || map_.key_comp()((--const_iterator(pos))->first, k));
113 return map_.emplace_hint(pos, k, std::move(v));