Espacios de nombres
Variantes
Acciones

std::char_traits::eq, std::char_traits::lt

De cppreference.com
< cpp‎ | string‎ | char traits

 
 
Strings biblioteca
Terminadas en nulo
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadenas de bytes
Multibyte cuerdas
Cadenas anchas
Clases
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string
char_traits
 
std::char_traits
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
bool eq( CharT a, CharT b );
(1) (hasta C++11)
constexpr bool eq( CharT a, CharT b );
(1) (desde C++11)
bool lt( CharT a, CharT b );
(2) (hasta C++11)
constexpr bool lt( CharT a, CharT b );
(2) (desde 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.
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.
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.

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.
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.

[editar] Excepciones

noexcept specification:  
noexcept
  (desde C++11)

[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.