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

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

 
 
Stringhe libreria
Null-stringhe terminate
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.
Byte stringhe
Multibyte stringhe
Stringhe larghe
Classi
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
Membri funzioni
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) (fino al c++11)
constexprbool eq( CharT a, CharT b );
(1) (dal C++11)
bool lt( CharT a, CharT b );
(2) (fino al c++11)
constexprbool lt( CharT a, CharT b );
(2) (dal C++11)
Confronta due caratteri.
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)
Confronta a e b per la parità.
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)
Confronta a e b in modo tale che essi sono totalmente ordinata.
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.

Indice

[modifica]Parametri

a, b -
valori dei caratteri da confrontare
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.

[modifica]Valore di ritorno

1)
true se a e b sono uguali, altrimenti 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 se a è meno di b, false altrimenti.
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.

[modifica]Eccezioni

noexcept specification:  
noexcept
  (dal C++11)

[modifica]Complessità

Costante.
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
close