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

--- Comment #3 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
Reduced: <https://cpp2.godbolt.org/z/f3K4WaKnE>.

If you comment out the use of `.data()` at the end of `my_string_view.hpp` it
works.
It originally comes from `<string_view>`'s specialization of `hash`,
`      { return std::_Hash_impl::hash(__str.data(), __str.length()); }`.

Reply via email to