Skip to content

Support char8_t in C++17 mode #2106

@MahmoudGSaleh

Description

@MahmoudGSaleh

The STL currently understands and handles char8_t in C++17 and lower language modes when compiling with /Zc:char8_t.
To complete the support for p0482r6 - char8_t: A type for UTF-8 characters and strings), the following is still needed:

  • Add test coverage for P0482 under /std:c++17 /Zc:char8_t
  • Support u8string and u8string_view when __cpp_char8_t is defined (not only in C++20 mode)
  • Determine which (if any) of the changes from WG21-P1423 we should down-port as well.

Related to DevCom-1030065.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething can be improvedfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions