◐ Shell
clean mode source ↗

operator==,!=,<,<=,>,>=(std::stack) — cppreference.com

De cppreference.com

<metanoindex/>

Modèle en boucle détecté : Modèle:include page

<tbody> </tbody>

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)

Compare le contenu des récipients sous-jacents de deux adaptateurs de conteneurs. La comparaison est faite en appliquant l'opérateur correspondant à des sous-conteneurs .

Original:

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

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

Paramètres

lhs, rhs -

adaptateurs de conteneurs dont le contenu à comparer

Original:

container adaptors whose contents to compare

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

Retourne la valeur

true si les rendements de comparaison correspondant true, false autrement .

Original:

true if the corresponding comparison yields true, false otherwise.

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

Complexité

Linéaire à la taille du récipient

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.