https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103951
康桓瑋 <hewillk at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hewillk at gmail dot com --- Comment #1 from 康桓瑋 <hewillk at gmail dot com> --- Reduced a bit: #include <ranges> struct string_view { string_view(std::ranges::range auto&&); }; struct Iter { Iter(string_view); Iter begin() const { return *this; } }; https://godbolt.org/z/n93o9f9nK