range-v3
range-v3 copied to clipboard
Range library for C++14/17/20, basis for C++20's std::ranges
This is somewhat related to #1271.. The presence of `::meta` is causing some trouble for adoption of range-v3 in large codebases. Turns out, `meta` is an extremely popular name for...
As a result of working with struct-of-arrays layout data, I often find I want to work with indices instead of the data itself (i.e. with `argsort` / `argmax` type functions)....
Here is the issue in detail: https://godbolt.org/z/Ehsc36 In summary: ``` bool b1{constantIter == mutableIter}; // ok: expected goodness. bool b2{mutableIter == constantIter}; // fails to compile ``` where `constantIter` and...
I'm trying to create a view which binds to a shared_ptr (which should be possible following https://github.com/ericniebler/range-v3/pull/557#issue-102835478) on construction as follows: ```c++ #include #include #include #include #include int main() {...
`views::tail`: _"Given a source range, return a new range without the first element. The range must have at least one element."_ – https://ericniebler.github.io/range-v3/index.html#autotoc_md8 _"The range must have at least one...
Hi, cmake prints this warning when I set CMAKE_BUILD_TYPE=RelWithDebInfo: https://github.com/ericniebler/range-v3/blob/master/cmake/ranges_env.cmake#L77 Would you please add an if-branch for RelWithDebInfo here? Thanks
`forward_iterator` requires `equality_comparable`, which says that equality must be transitive. this can be violated if we obtain the end iterator and decrement it until we reach the beginning of the...
Hi there, I don't know if this is the right place to report this, but here it goes: `ice.ixx`: ``` module; #include #include #include #include #include export module ice; export...
`istream_view` is only useful if the input to be formatted on read and `std::istreambuf_iterator` only works with types that have a `std::char_traits` specialisation. The purpose of `unformatted_istream_view` is to read...
Implements #801.