https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111861
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> --- (In reply to 康桓瑋 from comment #2) > (In reply to Patrick Palka from comment #1) > > Interesting, I guess 'auto x = *iter;' should never be done in generic code > > then? > > Yap, even 'range_value_t<R> x = *iter;'. Ah right though in these cases the indirectly_copyable_storable requirements allow for that.