operator==,!=,<,<=,>,>=(std::stack)

From cppreference.com

Template loop detected: Template:page template

template<  >

bool operator==( stack<>& lhs,

                 stack<>& rhs );
(1)
template<  >

bool operator!=( stack<>& lhs,

                 stack<>& rhs );
(2)
template<  >

bool operator<( stack<>& lhs,

                stack<>& rhs );
(3)
template<  >

bool operator<=( stack<>& lhs,

                 stack<>& rhs );
(4)
template<  >

bool operator>( stack<>& lhs,

                stack<>& rhs );
(5)
template<  >

bool operator>=( stack<>& lhs,

                 stack<>& 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.

[edit] Parameters

lhs, rhs - container adaptors whose contents to compare

[edit] Return value

true if the corresponding comparison yields true, false otherwise.

[edit] Complexity

Linear in the size of the container