https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108487
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #4) > That's because iota_view's iterator is only an input iterator in gcc-10, I meant to say gcc-10.4 there.