range-v3
range-v3 copied to clipboard
Range library for C++14/17/20, basis for C++20's std::ranges
Currently, on arch linux C++ packages start including modulemap files for C++ libraries as provided by upstream authors. The way range-v3 is currently packaged, installs headers on `/usr/include/range/v3`, `/usr/include/meta`, etc...
Bug pointing down to 1 line with this `/tmp/a.cpp`: ```c++ #include ``` ```bash g++-10 -std=c++20 /tmp/a.cpp In file included from /usr/include/range/v3/view.hpp:25, from /usr/include/range/v3/all.hpp:25, from /tmp/a.cpp:1: /usr/include/range/v3/view/cartesian_product.hpp: In substitution of ‘template...
## Abstract On msys2 mingw gcc, too many errors were reported. I tried `-std=c++14` and `-std=c++17` but nothing was changed. On Ubuntu 20.04, gcc 9.3.0 didn't report any errors. ##...
Binary comparison of ranges::variant fails to compile: ``` void foo() { ranges::variant i1, i2; i1 == i2; } ``` with, ``` Error C2676 binary '==': 'ranges::variant' does not define this...
This is from a unit-test from a bigger code base of mine in which `ranges::starts_with` yields surprising results: ``` using namespace std::literals; const auto needle = std::string("needle"); CHECK_FALSE(ranges::starts_with(needle, "needle")); CHECK_FALSE(ranges::starts_with("needle"s,...
Building range-v3 0.9.1 or 0.9.0 with clang 9.0 results in: ``` ld: error: duplicate symbol: ranges::detail::_is_integer_like_ >>> defined in test/CMakeFiles/multiple.dir/multiple1.cpp.o >>> defined in test/CMakeFiles/multiple.dir/multiple2.cpp.o clang-9: error: linker command failed with...
As always: thanks for all your amazing work; apologies if this is a false-positive. The following compiles under trunk Clang with libc++ but fails under trunk Clang and trunk GCC...
These changes are breaking `span` API Close #1563
Hello, Thanks a lot for the work done on this project! I noticed that [`std::span`](https://en.cppreference.com/w/cpp/container/span) uses `std::size_t` as its extent/`size_type` while ranges uses `std::ptrdiff_t` https://github.com/ericniebler/range-v3/blob/167d94b2f3de8a7d279a47da55b0cad536665a15/include/range/v3/view/span.hpp#L42 https://github.com/ericniebler/range-v3/blob/167d94b2f3de8a7d279a47da55b0cad536665a15/include/range/v3/view/span.hpp#L151 Additionally, the dependent names...
https://github.com/ericniebler/range-v3/blob/167d94b2f3de8a7d279a47da55b0cad536665a15/include/range/v3/detail/config.hpp#L484 I'm afraid this pieces of code is incomplete in order to detect thread local storage on IOS. You need to check for specific architectures and specific iOS versions as...