◐ Shell
clean mode source ↗

C + + Konzepte: EqualityComparable – cppreference.com

Aus cppreference.com

<metanoindex/>

C + + Konzepte

Basic

Original:

Basic

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

Library-Wide

Original:

Library-Wide

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

Container

Original:

Container

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

Container-Elemente

Original:

Container Elements

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

Iterator

Original:

Iterator

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

Zufallszahlen

Original:

Random Numbers

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

Concurrency

Original:

Concurrency

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

Andere

Original:

Other

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

The type must work with == operator and the result should have standard semantics.

Anforderungen

Expression Requirements Return type
a == b
  • Commutativity (a == b yields the same as b == a)
  • Transitivity (if a == b and b == c, then a == c)
bool or a type implicitly convertible to bool