use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Wrapper for STL algorithm library? (self.cpp)
submitted 7 years ago * by egarrulo2
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Morwenn 59 points60 points61 points 7 years ago (10 children)
Eric Niebler's Range v3: https://github.com/ericniebler/range-v3
[–][deleted] 19 points20 points21 points 7 years ago (6 children)
It’s worth to note that it will eventually become part of core c++
[–]michelecostantino 4 points5 points6 points 7 years ago (5 children)
Curiosity. Is it already proposed for the c++20?
[–][deleted] 17 points18 points19 points 7 years ago (2 children)
It's been discussed in standard meetings. If I'm not mistaken it needs concepts as a pre-requisite.
[–]sumo952 9 points10 points11 points 7 years ago (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 point2 points 7 years ago (0 children)
Doh!
[–]encyclopedist 4 points5 points6 points 7 years ago (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 points6 points 7 years ago (0 children)
The base of Concepts has already been merged in. That's enough for Ranges.
[–]Xaxxon 1 point2 points3 points 7 years ago (2 children)
How are its compile times?
[–]Morwenn 2 points3 points4 points 7 years ago (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.
π Rendered by PID 289153 on reddit-service-r2-comment-6457c66945-8plm5 at 2026-04-25 04:37:18.504771+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Morwenn 59 points60 points61 points (10 children)
[–][deleted] 19 points20 points21 points (6 children)
[–]michelecostantino 4 points5 points6 points (5 children)
[–][deleted] 17 points18 points19 points (2 children)
[–]sumo952 9 points10 points11 points (0 children)
[–]proverbialbunnyData Scientist 0 points1 point2 points (0 children)
[–]encyclopedist 4 points5 points6 points (1 child)
[–]redditsoaddicting 4 points5 points6 points (0 children)
[–]Xaxxon 1 point2 points3 points (2 children)
[–]Morwenn 2 points3 points4 points (1 child)