cmcstl2
cmcstl2 copied to clipboard
An implementation of C++ Extensions for Ranges
All of the input-range-and-a-half algorithms are deprecated in the Ranges TS, and MSVC doesn't recognise this flag. We _could_ add some fancy CMake to accommodate this, but these overloads aren't...
Running `make` produces the following error with GCC 8.3 and GCC 9.1 on Ubuntu 19.04: ``` [ 11%] Building CXX object test/iterator/CMakeFiles/iter.operations.dir/operations.cpp.o In file included from /home/mnieper/github/cmcstl2/include/stl2/detail/range/concepts.hpp:24, from /home/mnieper/github/cmcstl2/include/stl2/detail/iterator/insert_iterators.hpp:21, from...
This is an attempt at getting the design for numeric ranges going (third time lucky?). There's a lot of design documentation in the commit messages; and possibly some rambling too....
The changes in this papers weakness the constrains of compare algorithm to be derived from the predicate (required invocation only in the specific direction). The IndirectRelation concept is now replaced...
Per P1206 and [Kona LEWG discussion](http://wiki.edg.com/bin/view/Wg21kona2019/P1026).
I am compiling D:\Git\cmcstl2\test\iterator\any_iterator.cpp. It can be triggered via: stl2::iter_difference_t; The (reversed) processing order is: D:\Git\cmcstl2\include\stl2/detail/iterator/increment.hpp(61): error C2968: 'iter_difference_t': recursive alias declaration D:\Git\cmcstl2\include\stl2/detail/iterator/concepts.hpp(375): note: see reference to variable template 'bool...
@CaseyCarter @cjdb here's an implementation of the `single_ref_view` idea I bounced around in the slack channel earlier today. The implementation strategy basically follows that of `rev_view`, but the adapter behaves...
This code compiles fine: ``` { auto strs = { "1", "2", "3", "4", "5" }; auto g0 = strs | v::join; } ``` This code does not: ``` {...
I initially tried to get this functionality by combining off-the-shelf views, but I don't think that is possible. So, I am trying to write a group_view that is analogous to...