728x90
728x170
*[header][C library] cuchar (uchar.h) (C++11)
<cuchar> (uchar.h)
Unicode characters
Types
In C, this header defines two macros: char16_t and char32_t, which map to unsigned integral types of the appropriate size (the same as uint_least16_t and uint_least32_t, respectively).In C++, char16_t and char32_t are fundamental types (and thus this header does not define such macros in C++).
Macros
In C++, the following macros are defined by this header:Macro | description |
---|---|
__STD_UTF_16__ | If defined, values of type char16_t have UTF-16 encoding. Otherwise, the encoding of char16_t is unspecified. (In C11, the macro expands to 1 when defined) |
__STD_UTF_32__ | If defined, values of type char32_t have UTF-32 encoding. Otherwise, the encoding of char32_t is unspecified. (In C11, the macro expands to 1 when defined) |
Functions
- c16rtomb
- Convert 16-bit character to multibyte sequence (function )
- c32rtomb
- Convert 32-bit character to multibyte sequence (function )
- mbrtoc16
- Convert multibyte sequence to 16-bit character (function )
- mbrtoc32
- Convert multibyte sequence to 32-bit character (function )
Compatibility
This header, first introduced in C by a Technical Report extending C99, is fully supported by the latest standards of C and C++ (both published in 2011).내용 출처 : http://www.cplusplus.com/reference/cuchar/
728x90
그리드형(광고전용)
'Programming > C++' 카테고리의 다른 글
정렬 알고리즘의 시간 복잡도 비교 (0) | 2017.11.08 |
---|---|
데이터 형식 범위 (0) | 2017.11.08 |
[header][C library] cwctype (wctype.h) (0) | 2017.11.08 |
[header][C library] cwchar (wchar.h) (0) | 2017.11.08 |
[header][C library] ctime (time.h) (0) | 2017.11.08 |
[header][C library] ctgmath (tgmath.h) (C++11) (0) | 2017.11.08 |
[header][C library] cstring (string.h) (0) | 2017.11.08 |
[header][C library] cstdlib (stdlib.h) (0) | 2017.11.08 |