BloombergLP::bslalg::swap

Efficiently exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee. The behavior is undefined unless the two objects were created with the same allocator.

Synopsis

Declared in <bslalg_hashtableanchor.h>

void
swap(
    HashTableAnchor& a,
    HashTableAnchor& b);