operator==,!=,<,<=,>,>=(std::queue)
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
Ciclo de predefinições detetado: Predefinição: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.
Parâmetros
| lhs, rhs | - | container adaptors whose contents to compare |
Valor de retorno
true if the corresponding comparison yields true, false otherwise.
Complexidade
Linear no tamanho do recipiente
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.
You can help to correct and verify the translation. Click here for instructions.