.. SPDX-FileCopyrightText: 2019-2020 Intel Corporation
..
.. SPDX-License-Identifier: CC-BY-4.0

======================================
Non-member lexicographical comparisons
======================================

.. code:: cpp

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

**Returns**: ``true`` if ``lhs`` is lexicographically `less` than ``rhs``.

-----------------------------------------------------

.. code:: cpp

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

**Returns**: ``true`` if ``lhs`` is lexicographically `less or equal` than ``rhs``.

-----------------------------------------------------

.. code:: cpp

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

**Returns**: ``true`` if ``lhs`` is lexicographically `greater` than ``rhs``.

-----------------------------------------------------

.. code:: cpp

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

**Returns**: ``true`` if ``lhs`` is lexicographically `greater or equal` than ``rhs``.
