Swaps the contents of two node_hash_map containers.

Synopsis

Declared in <absl/container/node_hash_map.h>

template<
    typename K,
    typename V,
    typename H,
    typename E,
    typename A>
void
swap(
    node_hash_map<K, V, H, E, A>& x,
    node_hash_map<K, V, H, E, A>& y) noexcept(noexcept(x.swap(y)));

Parameters

Name

Description

x

The first container to swap.

y

The second container to swap.

Created with MrDocs