carb::container::detail::operator==

Defined in carb/container/RobinHoodImpl.h

template<size_t LoadFactorMax100_1, size_t LoadFactorMax100_2, class Key, class ValueType, class KeyFromValue, class Hasher1, class Hasher2, class Equals>
bool carb::container::detail::operator==(const RobinHood<LoadFactorMax100_1, Key, ValueType, KeyFromValue, Hasher1, Equals> &lhs, const RobinHood<LoadFactorMax100_2, Key, ValueType, KeyFromValue, Hasher2, Equals> &rhs)

Equality operator.

Checks for equality between two containers.

Parameters
  • lhs – The first container.

  • rhs – The second container.

Returns

true if the containers are equal, that is, the second container is a permutation of the first.