mitigate some C++20 char8_t breakages

Description

C++20 adds a type-incompatible char8_t and changes the type of u8"literals" to use that. This breaks code that mixes u8 string literals with const char *, std::string, std::string_view, icu::StringPiece, icu::ByteSink, and much else.

Make u8"literals" easy to work with StringPiece and ByteSink and maybe more.

Activity

Show:
Markus Scherer
March 11, 2020, 7:58 PM

FYI Link to approved API proposal:

Assignee

Markus Scherer

Reporter

Markus Scherer

Components

Labels

None

Reviewer

None

Priority

major

Time Needed

Hours

Fix versions

Configure