absl::linked_hash_map::splice

Moves an element from another map into this one at the given position.

Synopsis

Declared in <absl/container/linked_hash_map.h>

template<
    typename H,
    typename E>
void
splice(
    const_iterator pos,
    linked_hash_map<Key, Value, H, E, Alloc>& list,
    const_iterator it);

Parameters

NameDescription
listThe source map to splice the element from.
itAn iterator to the element in list to move.
posA position hint, which is ignored.