C + + Konzepte: LessThanComparable
Aus 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. |
Der Typ muss mit Operator < vergleichbar sein und das Ergebnis sollte Standard-Semantik haben.
Original:
The type must work with < operator and the result should have standard semantics.
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.
[Bearbeiten] Anforderungen
- irreflexiv
- antisymmetrisch
- transitiv
Expression | Requirements | Return type |
---|---|---|
a < b
|
(Strenge schwache Ordnung Beziehung)
Original: (strict weak ordering relation) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
bool oder ein implizit in bool konvertierbarer Typ |