Non-member binary comparisons#

Two oneapi::tbb::concurrent_multimap objects are equal if they have the same number of elements and each element in one container is equal to the element in other container on the same position.

template <typename Key, typename T, typename Compare, typename Allocator>
bool operator==( const concurrent_multimap<Key, T, Compare, Allocator>& lhs,
                 const concurrent_multimap<Key, T, Compare, Allocator>& rhs )

Returns: true if lhs is equal to rhs; false, otherwise.


template <typename Key, typename T, typename Compare, typename Allocator>
bool operator!=( const concurrent_multimap<Key, T, Compare, Allocator>& lhs,
                 const concurrent_multimap<Key, T, Compare, Allocator>& rhs )

Returns: true if lhs is not equal to rhs; false, otherwise.