Commit Graph

3 Commits

Author SHA1 Message Date
e3ab977ffa ranges/adjacent: use more cvref_t
This fixes some errors calling the range closure with stack variables.
2024-11-11 11:26:44 +10:00
8eeb35cf36 ranges: add a naive implemenation of "adjacent"
This works around a diffiency in the clang-19 ranges library.
2024-11-11 11:19:33 +10:00
0a7cd59eb9 ranges: add a (simplistic) implementation of chunk
Taken from the illustrative text at https://en.cppreference.com/w/cpp/ranges/chunk_view
2024-07-19 16:41:10 +10:00