https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005
--- Comment #3 from Andreas Schwab <sch...@linux-m68k.org> --- Objects of type ranges::take_while_view<V, decltype (&pred_f)> or ranges::transform_view<V, decltype (&func_f)> do have the correct size, though.