flux
flux copied to clipboard
A C++20 library for sequence-orientated programming
This PR does a whole lot of things. Firstly, we define some concepts for integers. Specifically, the `flux::num::integral` concept is satisfied by any `std::integral` type *except* `bool`, `char`, `wchar_t` and...
C++23 adds [`std::views::join_with`](https://en.cppreference.com/w/cpp/ranges/join_with_view), which takes a range-of-ranges and a pattern and produces the elements of the inner ranges with the pattern interspersed. We should have it too. As always though,...
This clang-format was created using LLVM's tool to "detect" the format from existing code. From my testing, it's quite close.
If I have a `sequence` whose `element` type is `T&`, are there any rules around what the lifetime of that reference needs to be? Specifically, is this necessary valid: ```cpp...
This is an experimental PR to try out the ideas in #99, namely replacing the existing `for_each_while(seq, pred) -> cursor_t` customisation point with a new pair of customisation points: ```cpp...
Currently internal iteration is achieved by a sequence customisation point `for_each_while(predicate) -> cursor_t`, which instructs the sequence to iterate over all of its elements until such time as the predicate...
I was wondering if we could have a logo. I have prepared one proposal:  
We're currently using Sphinx for our documentation, but it seems like MkDocs -- specifically [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) -- is now preferred by many projects. It certainly does generate very nice,...
From #193 by @Guekka: > Sidenote: while writing this, I've noticed find_if doesn't seem tested? Embarrassingly, it's true, we don't have specific tests for `find_if` and `find_if_not` (although they're used...