std::char_traits::eq, std::char_traits::lt
De cppreference.com
< cpp | string | char traits
|
|
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. |
| bool eq( CharT a, CharT b ); |
(1) | (hasta C + +11) |
| constexpr bool eq( CharT a, CharT b ); |
(1) | (ya que C + +11) |
| bool lt( CharT a, CharT b ); |
(2) | (hasta C + +11) |
| constexpr bool lt( CharT a, CharT b ); |
(2) | (ya que C + +11) |
Compara dos personajes .
Original:
Compares two characters.
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.
1)
Compara
a y b por la igualdad .Original:
Compares
a and b for equality.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.
2)
Compara
a y b de tal manera que están totalmente ordenado .Original:
Compares
a and b in such a way that they are totally ordered.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.
Contenido |
[editar] Parámetros
| a, b | - | valores de caracteres para comparar
Original: character values to compare The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
1)
true si
a y b son iguales, por lo demás false .Original:
true if
a and b are equal, false otherwise.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.
2)
true si
a es' menos que b, false de otra manera .Original:
true if
a is less than b, false otherwise.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.
[editar] Excepciones
[editar] Complejidad
Constante .
Original:
Constant.
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.