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

I've been trying to learn range-v3 by going through project Euler problems. I found that I needed a zip_longest view, and managed to steal some code from this blog post...

I found out, that iterators with an abstract `value_type` fail to compile, because concepts checks on invocable try to pass the unqouted `value_type`, which ofc cannot be instantiated. ```cpp #include...

On OpenBSD 7.0 -CURRENT, clang 13.0.0 is used as the default compiler (not on all architectures, though): ``` $ cc --version OpenBSD clang version 13.0.0 Target: amd64-unknown-openbsd7.0 Thread model: posix...

Please consider the following example where I’m trying to concatenate two views over a move-only type: ```cpp auto v = views::ints(0, 4) | views::transform([](int i) { return std::make_unique(i); }); auto...

See also: https://cplusplus.github.io/LWG/issue2471 The extra trailing increment on ranges::copy_n causes trouble when you use it with an istream_iterator source, as istream_iterator performs an irreversible action on increment. Essentially, this will...

**clang 12.0.1 + libc++ is ok.** **clang 13.0 + libstdc++ is ok.** **clang 13.0 + libc++ is failed to compile with the simplest demo.** ``` #include #include #include #include #include...

The concept `joinable_with_range` requires the element of the ranges to be `semiregular`. I can't find any reason why it has to be `seriregular`. https://github.com/ericniebler/range-v3/blob/83783f578e0e6666d68a3bf17b0038a80e62530e/include/range/v3/view/join.hpp#L523 One possible reason is one of...

``` using input_iterator_tag = std::input_iterator_tag; using forward_iterator_tag = std::forward_iterator_tag; using bidirectional_iterator_tag = std::bidirectional_iterator_tag; using random_access_iterator_tag = std::random_access_iterator_tag; struct contiguous_iterator_tag : std::random_access_iterator_tag {}; ``` The code above is from iterator/traits.hpp. Is...

Fail to build autotests of the latest release [v0.11.0](https://github.com/ericniebler/range-v3/releases/tag/0.11.0) with GCC 11.2.0. Could you please take a look? A thousand thanks in advance. ``` [ 0%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/range/v3/utility.cpp.o...

Is it possible to integrate gsl::span as replacement for usage with MSVC and C++17? [Avoid including empty header when using MSVC and C++17](https://github.com/ericniebler/range-v3/pull/1561)