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
;
|
||
문자 c 를 현재 로케일에 해당하는 값으로 변환합니다. 결과는 필요한 경우 char 에서 스트림 내에서 사용되는 문자 타입으로 변환됩니다.
효과적으로 다음을 호출합니다: std:: use_facet < std:: ctype < char_type > > ( getloc ( ) ) . widen ( c ) .
매개변수
| c | - | 변환할 문자 |
반환값
문자 변환됨
char_type
참고 항목
|
문자를 좁힘
(public member function) |
|
|
[virtual]
|
문자를
char
에서
CharT
로 변환
(
std::ctype<CharT>
의 virtual protected member function)
|
|
단일 바이트 narrow 문자를 wide 문자로 확장 (가능한 경우)
(function) |