flux
flux copied to clipboard
A C++20 library for sequence-orientated programming
## Description Currently, `flux::first`, `flux::find_if` and some others return a `cursor`. I will call these functions *collectors* This makes sense with flux iteration model, but is unwieldy in practice: ```cpp...
Decided to take a look at the framework and experienced some issues with VisualStudio (both MSVC\Clang) and Visual Code IDE. After the first adapter intellisense has issues in guessing the...
Both the [Conan](https://conan.io/center/recipes/flux) and [Vcpkg](https://vcpkg.io/en/package/flux) Flux packages are git snapshots from some time ago. It would be great to get these updated for the new Flux release.
There seems to be an issue when iterating over a sequence with filter_map and storing the result in a container. Please see the following example: https://godbolt.org/z/TfdKdzfr9 ```cpp #include #include int...
This PR adds the `permutations` and `permutations_sized` adaptors, as described in #138. The `permutations` adaptor takes in any input sequence and produces an ouput of all possible permutations of the...
I attempt to use flux with [immer::vector](https://github.com/arximboldi/immer) (I know, that's a weird thing to do. immer iterators are already const and never invalidates). For the most part (except for `.to()`)...
This PR adds a new `iterable` concept and updates various algorithms and adaptors to use it. An `iterable` is, as the name suggests, something we can iterate over -- specifically,...
The various `std::string::find()` functions have an `start_pos` argument. It would be handy to have this for our `find()` functions as well, because messing about with slices can be a bit...
Today's Advent of Code was a reminder that even with `flux::unpack`, working with sequences which yield tuples can be really ugly:  To avoid this, we could automatically unpack tuples...
Per https://github.com/conan-io/web/issues/187, we should add a note to the README advising Conan users to avoid saying `flux/[*]` as it will bring in an old git snapshot.