std::basic_ios<CharT,Traits>:: widen
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
| Member functions | ||||
| State functions | ||||
| Formatting | ||||
| Miscellaneous | ||||
|
basic_ios::widen
|
||||
| Protected member functions | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
|
char_type widen
(
char
c
)
const
;
|
||
Convierte un carácter c a su equivalente en la configuración regional actual. El resultado se convierte de char al tipo de carácter utilizado dentro del flujo si es necesario.
Efectivamente llama a std:: use_facet < std:: ctype < char_type > > ( getloc ( ) ) . widen ( c ) .
Parámetros
| c | - | carácter a convertir |
Valor de retorno
Carácter convertido a
char_type
Véase también
|
reduce caracteres
(función miembro pública) |
|
|
[virtual]
|
convierte un carácter o caracteres de
char
a
CharT
(función miembro protegida virtual de
std::ctype<CharT>
)
|
|
amplía un carácter estrecho de un solo byte a carácter ancho, si es posible
(función) |