std::char_traits::to_char_type - cppreference.com
Espaços nominais
Variantes
Ações

std::char_traits::to_char_type

De cppreference.com

<metanoindex/>

 
 
Biblioteca cordas
Strings terminadas
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.
Cadeias de bytes
Multibyte cordas
Cordas de largura
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
 
<tbody> </tbody>
char_type to_char_type( int_type a );
(até C++11)
constexpr char_type to_char_type( int_type a );
(desde C++11)
Converte um valor de int_type para char_type. Se não houver nenhum valor equivalente, os resultados não são especificadas.
Original:
Converts a value of int_type to char_type. If there are no equivalent value, the results are unspecified.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

a -
valor para converter
Original:
value to convert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

Um valor equivalente a a.
Original:
A value equivalent to a.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exceções

noexcept specification:  
<tbody> </tbody>
  (desde C++11)

Complexidade

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.