https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114519

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:feb6a2d3569095706170c9400e93add27a66e034

commit r14-9839-gfeb6a2d3569095706170c9400e93add27a66e034
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Apr 2 22:46:55 2024 +0100

    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.

Reply via email to