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
;
|
||
Convertit un caractère c en son équivalent dans les paramètres régionaux actuels. Le résultat est converti de char vers le type de caractère utilisé dans le flux si nécessaire.
Appelle effectivement std:: use_facet < std:: ctype < char_type > > ( getloc ( ) ) . widen ( c ) .
Paramètres
| c | - | caractère à convertir |
Valeur de retour
Caractère converti en
char_type
Voir aussi
|
rétrécit les caractères
(fonction membre publique) |
|
|
[virtual]
|
convertit un ou plusieurs caractères de
char
vers
CharT
(fonction membre virtuelle protégée de
std::ctype<CharT>
)
|
|
élargit un caractère étroit d'un octet en caractère large, si possible
(fonction) |