header

<cuchar> (uchar.h)

Unicode characters
This header provides support for 16-bit and 32-bit characters, suitable to be encoded using UTF-16 and UTF-32.

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:
Macrodescription
__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


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).
<rt id="pwjBlLZ"><small id="pwjBlLZ"></small></rt>
<acronym id="pwjBlLZ"></acronym><rt id="pwjBlLZ"></rt>
<tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr><tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr><acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym>
<acronym id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></acronym>
<option id="pwjBlLZ"></option>
<tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr>
<acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym><acronym id="pwjBlLZ"></acronym>
<acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym>
  • 6512882421 2018-04-19
  • 4659652420 2018-04-19
  • 2967832419 2018-04-19
  • 8339042418 2018-04-19
  • 8147112417 2018-04-19
  • 2774752416 2018-04-19
  • 4316132415 2018-04-19
  • 6265742414 2018-04-19
  • 1875142413 2018-04-19
  • 4146552412 2018-04-19
  • 8205662411 2018-04-19
  • 959982410 2018-04-19
  • 7153742409 2018-04-19
  • 9349932408 2018-04-18
  • 6024052407 2018-04-18
  • 2113432406 2018-04-18
  • 7629172405 2018-04-18
  • 163882404 2018-04-18
  • 3515922403 2018-04-18
  • 5047802402 2018-04-18