diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-04-02 22:46:55 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-04-08 17:44:18 +0100 |
commit | feb6a2d3569095706170c9400e93add27a66e034 (patch) | |
tree | 0e8d911134b6e2bb3e78f4eecfcbc9336b9ab971 /libgcc | |
parent | cd77e152875d3bc9c8966fc20241d73aa47532b3 (diff) | |
download | gcc-feb6a2d3569095706170c9400e93add27a66e034.zip gcc-feb6a2d3569095706170c9400e93add27a66e034.tar.gz gcc-feb6a2d3569095706170c9400e93add27a66e034.tar.bz2 |
libstdc++: Use char for _Utf8_view if char8_t isn't available [PR114519]
Instead of just omitting the definition of __unicode::_Utf8_view when
char8_t is disabled, we can make it use char instead.
libstdc++-v3/ChangeLog:
PR libstdc++/114519
* include/bits/unicode.h (_Utf8_view) [!__cpp_char8_t]: Define
using char instead of char8_t.
* testsuite/ext/unicode/view.cc: Use u8""sv literals to create
string views, instead of std::u8string_view.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions