.. SPDX-FileCopyrightText: 2019-2020 Intel Corporation .. .. SPDX-License-Identifier: CC-BY-4.0 ============================= Non-member binary comparisons ============================= Two objects of ``concurrent_unordered_set`` are equal if the following conditions are ``true``: * They contain an equal number of elements. * Each element from one container is also available in the other. .. code:: cpp template bool operator==( const concurrent_unordered_set& lhs, const concurrent_unordered_set& rhs ); **Returns**: ``true`` if ``lhs`` is equal to ``rhs``, ``false`` otherwise. --------------------------------------------------------------------------------------------- .. code:: cpp template bool operator!=( const concurrent_unordered_set& lhs, const concurrent_unordered_set& rhs ); Equivalent to ``!(lhs == rhs)``. **Returns**: ``true`` if ``lhs`` is not equal to ``rhs``; ``false``, otherwise.