Namensräume
Varianten
Aktionen

C + + Konzepte: LessThanComparable

Aus cppreference.com
< cpp‎ | concept

 
 
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.
EqualityComparable
LessThanComparable
Swappable(C++11)
ValueSwappable(C++11)
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.
BasicLockable(C++11)
Lockable(C++11)
TimedLockable(C++11)
Mutex(C++11)
TimedMutex(C++11)
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.
 
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.


[Bearbeiten] Anforderungen

  • irreflexiv
  • antisymmetrisch
  • transitiv
Expression Requirements Return type
a < b
  • !(x < x)
  • wenn a < b dann !(b < a)
    Original:
    if a < b then !(b < a)
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • wenn a < b und b < c dann a < c
    Original:
    if a < b and b < c then a < c
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
(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