range-v3
range-v3 copied to clipboard
Range library for C++14/17/20, basis for C++20's std::ranges
Fixes #1707. This is a partial implementation, in that I'm removing the requirements of default construction from the concepts and removing the partially-formed default constructors that I removed in that...
While preparing the `build2` package for `range-v3 v0.12.0` I discovered that [test/algorithm/partition_move.cpp](https://github.com/ericniebler/range-v3/blob/master/test/algorithm/partition_move.cpp) is not referred anywhere in CMake files. It also attempts to include a header that does not exist:...
Either that or stop claiming to support that compiler.
See [P2325](http://wg21.link/p2325).
This call fails to compile: ``` const auto it{ranges::find(values, stringToFind, &Value::value)}; ``` with: ``` error: no match for call to '(const ranges::find_fn) (const std::vector&, const std::string&, )' ... note: couldn't...
Introduces a new indirect-callable-trait called `indirect_value_t` to ensure correct value-type computation for algorithms that take projections. Instead of forming a reference to the invoke-result of the projection, it now computes...
Boost.Move own `iterator_traits` fails to compile when using `ranges::to`, as it relies on the iterator's member types. EDIT: example output ``` /Users/theo/.conan/data/boost/1.76.0/_/_/package/aab501a79b7a20cf10f7293cf64da1317989934c/include/boost/move/detail/iterator_traits.hpp:46:31: error: no type named 'value_type' in 'ranges::common_iterator' typedef...
I've installed range-v3 via apt-get install on Ubuntu 20.04 and run into the following error when I try to build a project with [colcon](https://colcon.readthedocs.io/en/released/user/quick-start.html) that has multiple dependencies that depend...
I have some code like this: ``` | r::views::filter([](const auto &rect) { return rect.childCount() == 3; }) ``` It kinda feels too verbose for such simple task... Alternatives I can...
I have the following setup: ```cpp struct Widget { int weight; std::string name; }; auto get_widgets() -> std::vector ``` And I want to get a vector of the widget names....