Exchange the contents of the specified hash sets.
Declared in <bslstp_hashset.h>
template<
class _Value,
class _HashFcn,
class _EqualKey,
class _Alloc>
void
swap(
hash_set<_Value, _HashFcn, _EqualKey, _Alloc>& lhs,
hash_set<_Value, _HashFcn, _EqualKey, _Alloc>& rhs);
| Name | Description |
|---|---|
| lhs | first hash set whose contents are exchanged |
| rhs | second hash set whose contents are exchanged |