https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119888
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|GCC 15.x regression: |[15 Regression]
|std::string_view as |std::projected is no longer
|template parameter |a class for C++20/23
|incorrectly decays to char |
|const* |
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So `std::ranges::iterator_t<std::string_view>` is `const char*` .
What changed is `std::projected` . which looks like it changed to the C++26
definition from the C++20 definition.
See https://en.cppreference.com/w/cpp/iterator/projected .