Espacios de nombres
Variantes
Acciones

Conceptos C++: LessThanComparable

De cppreference.com
< cpp‎ | concept

 
 
C + + conceptos
Básica
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-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.
LessThanComparable
(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.
Elementos contenedores
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.
Números aleatorios
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.
Concurrencia
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
Otros
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
El tipo debe trabajar con el operador <y el resultado debe tener semántica estándar .
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.


[editar] Requisitos

Expression Requirements Return type
a < b
  • !(x < x)
  • si a < b entonces !(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.
  • si a < b y luego b < c 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.
(Relación estricto orden débil)
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 or a type implicitly convertible to bool