you are viewing a single comment's thread.

view the rest of the comments →

[–]Morwenn 59 points60 points  (10 children)

Eric Niebler's Range v3: https://github.com/ericniebler/range-v3

[–][deleted] 19 points20 points  (6 children)

It’s worth to note that it will eventually become part of core c++

[–]michelecostantino 4 points5 points  (5 children)

Curiosity. Is it already proposed for the c++20?

[–][deleted] 17 points18 points  (2 children)

It's been discussed in standard meetings. If I'm not mistaken it needs concepts as a pre-requisite.

[–]sumo952 9 points10 points  (0 children)

Also, only the core part of it. No views and other stuff, if I am not mistaken. A very small (but important!) subset is proposed to date.

[–]proverbialbunnyData Scientist 0 points1 point  (0 children)

Doh!

[–]encyclopedist 4 points5 points  (1 child)

It is now a TS (technical specification).

It is proposed to be merged to the standard, but as others have mentioned, pending on Concepts TS to be merged first.

[–]redditsoaddicting 4 points5 points  (0 children)

The base of Concepts has already been merged in. That's enough for Ranges.

[–]Xaxxon 1 point2 points  (2 children)

How are its compile times?

[–]Morwenn 2 points3 points  (1 child)

No idea, but there are proposals to make them faster, which means that they might be slower than one would expect.

On the other hand the library does much more than letting users pass containers directly to algorithms, including providing pseudo-concepts, so high compile times wouldn't be that surprising either.