https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116958
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Related to https://wg21.link/P2846 The transform_view is a sized_range already. The problem is that we haven't implemented the vector(from_range_t, R&&) constructor yet, so it does vector(ranges::begin(xformed), ranges::end(xformed)) and the iterators are not random access. I think when that constructor is done, this will Just Work.