المتغيرات
فضاءات التسمية
أفعال

operator==,!=,<,<=,>,>=(std::{{{1}}})

من cppreference.com
template< ... >

bool operator==( {{{1}}}<...>& lhs,

                 {{{1}}}<...>& rhs );
(1)
template< ... >

bool operator!=( {{{1}}}<...>& lhs,

                 {{{1}}}<...>& rhs );
(2)
template< ... >

bool operator<( {{{1}}}<...>& lhs,

                {{{1}}}<...>& rhs );
(3)
template< ... >

bool operator<=( {{{1}}}<...>& lhs,

                 {{{1}}}<...>& rhs );
(4)
template< ... >

bool operator>( {{{1}}}<...>& lhs,

                {{{1}}}<...>& rhs );
(5)
template< ... >

bool operator>=( {{{1}}}<...>& lhs,

                 {{{1}}}<...>& rhs );
(6)

Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.

[تعديل] Parameters

lhs, rhs - container adaptors whose contents to compare

قالب:par req concept

[تعديل] Return value

true if the corresponding comparison yields true, false otherwise.

[تعديل] Complexity

Linear in the size of the container