Non-member swap template <typename Key, typename T, typename HashCompare, typename Allocator> void swap( concurrent_hash_map<Key, T, HashCompare, Allocator>& lhs, concurrent_hash_map<Key, T, HashCompare, Allocator>& rhs ); Equivalent to lhs.swap(rhs).