https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111055
--- Comment #26 from 康桓瑋 <hewillk at gmail dot com> --- (In reply to Jonathan Wakely from comment #25) > 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. Fair enough. That’s why I said of 'Consider' instead of 'We should'.