range-v3 icon indicating copy to clipboard operation
range-v3 copied to clipboard

Range library for C++14/17/20, basis for C++20's std::ranges

Results 161 range-v3 issues
Sort by recently updated
recently updated
newest added

Reproducer: https://godbolt.org/z/b89bYKohM This is due to a collision with the I macro from https://en.cppreference.com/w/c/numeric/complex/I Similar fix by fmt: https://github.com/fmtlib/fmt/commit/5f774c0aed4af6494b412cd3883e0f09295bd79d

It doesn't do this for `std::vector`, or if we change `for_each` to `transform`. Annoying bug to troubleshoot if your invokable is not regular. Heres a mcve https://godbolt.org/z/b5bv9fvrj

In spite of the try/catch clause, the following program terminates abnormally with an uncaught exception: ``` #include #include #include #include #include struct my_input_container { std::istream_iterator begin() { throw std::runtime_error(""); }...

Hello , today I found that ranges::view::all cannot accept a prvalue range. For example , ```R = std::vector``` is not a ranges::viewable_range. But the same usage with std::ranges is ok...

[This commit](https://github.com/ericniebler/range-v3/commit/3a0881685803c659eba945788f9fe81acfe51c8a) introduces `COMPILE_LANG_AND_ID` which was added cmake 3.15. However, this change did not bump `cmake_minimum_required` (currently at 3.6) and thus is causing build issues for me. While I have...

So apologies in advance for not having a minimal repro for this, but I'm seeing consistent assert fails / segfaults in `ranges::nth_element()`. It's being applied to a `std::vector` of size...

# Context This was found while making the `build2` package of `range-V3 v0.12.0`. By default, if you try to build with `clang++` or `clang` on Windows, `build2` will use the...

The top-level namespace `ranges` will have the potential to clash with `std::ranges`, if people want to shorten `std::ranges` to `ranges`. To prevent creativity and fragmented namespace aliases, I propose that...

enhancement

By default CMake supports `Debug`, `Release`, `MinSizeRel`, and `RelWithDebInfo` (see https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#default-and-custom-configurations). Checking for all of them allows projects including range-v3 to set, for example, `CMAKE_BUILD_TYPE=RelWithDebInfo` without getting a warning from...