carb::container::detail::swap

Defined in carb/container/RobinHoodImpl.h

template<size_t LoadFactorMax100, class Key, class ValueType, class KeyFromValue, class Hasher, class Equals>
void carb::container::detail::swap(RobinHood<LoadFactorMax100, Key, ValueType, KeyFromValue, Hasher, Equals> &lhs, RobinHood<LoadFactorMax100, Key, ValueType, KeyFromValue, Hasher, Equals> &rhs)

ADL swap function.

Swaps between two containers that have the same template parameters.

Parameters
  • lhs – The first container

  • rhs – The second container.