utf16.defs.h.xml 455 B

12345678910111213141516171819202122
  1. <chapter xml:id="utf16.defs.h">
  2. <title><tt>__vic/utf16/defs.h</tt></title>
  3. <chapter xml:id="utf16--code_unit_t">
  4. <title><tt>utf16::code_unit_t</tt></title>
  5. <code-block lang="C++">
  6. namespace utf16 {
  7. using code_unit_t = char16_t; // since C++11
  8. // или
  9. using code_unit_t = uint_least16_t; // C++98
  10. } // namespace
  11. </code-block>
  12. <p>Тип для UTF-16 <link href="https://unicode.org/glossary/#code_unit">code unit</link>.</p>
  13. </chapter>
  14. </chapter>