BloombergLP::bslstl::swap

Swap the functors wrapped by a and b.

Synopsis

Declared in <bslstl_hashtable.h>

template<class FUNCTOR>
void
swap(
    HashTable_HashWrapper<FUNCTOR>& a,
    HashTable_HashWrapper<FUNCTOR>& b);

Description

Swap the functor wrapped by the specified a object with the functor wrapped by the specified b object.

Parameters

NameDescription
afirst hash wrapper to swap
bsecond hash wrapper to swap