◐ Shell
clean mode source ↗

operator==,!=,<,<=,>,>=(std::queue) – cppreference.com

Aus cppreference.com

<metanoindex/>

Vorlagenschleife entdeckt: Vorlage:include page

<tbody> </tbody>

template< > bool operator==( queue<>& lhs, queue<>& rhs );

(1)

template< > bool operator!=( queue<>& lhs, queue<>& rhs );

(2)

template< > bool operator<( queue<>& lhs, queue<>& rhs );

(3)

template< > bool operator<=( queue<>& lhs, queue<>& rhs );

(4)

template< > bool operator>( queue<>& lhs, queue<>& rhs );

(5)

template< > bool operator>=( queue<>& lhs, queue<>& 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.

Parameter

lhs, rhs - container adaptors whose contents to compare

Rückgabewert

true if the corresponding comparison yields true, false otherwise.

Komplexität

Linear in der Größe des Behälters

Original:

Linear in the size of the container

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.