https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055
--- Comment #25 from Jonathan Wakely <redi at gcc dot gnu.org> --- If we can't use range-based 'for' with ranges then we've taken a wrong turn somewhere. I did test them in e.g. std/ranges/access/begin.cc so we know that ranges::begin and ranges::end will work with them, but I'm not very motivated to support deranged ranges in containers and strings.