clang-19 exposes range_adaptor_closure so this isn't necessary.
Taken from the illustrative text at https://en.cppreference.com/w/cpp/ranges/chunk_view