Концепции C++: LessThanComparable
Материал из 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. |
Тип должен работать с <оператор и результат должен иметь стандартную семантику.
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.
[править] Требования
| Expression | Requirements | Return type |
|---|---|---|
a < b
|
(Строгая упорядоченность слабое отношение)
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 |