BloombergLP::bslstl::swap

Swap the functors wrapped by lhs and rhs.

Synopsis

Declared in <bslstl_hashtable.h>

template<class FUNCTOR>
void
swap(
    HashTable_ComparatorWrapper<FUNCTOR>& lhs,
    HashTable_ComparatorWrapper<FUNCTOR>& rhs);

Description

Swap the functor wrapped by the specified lhs object with the functor wrapped by the specified rhs object.

Parameters

NameDescription
lhsfirst comparator wrapper to swap
rhssecond comparator wrapper to swap