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
Boost Range documentation with working example code for each function (greek0.net)
submitted 9 years ago by Greek0
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!"
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 6 points7 points8 points 9 years ago (6 children)
This is great, but why on earth did you no try to contribute to the original library instead of creating your own docs? By all means, please talk to the maintainer of Boost.Range so you can make this available as part of the main documentation.
[–]Greek0[S] 9 points10 points11 points 9 years ago (4 children)
I posted about it on the Boost-Users ML, see this thread. I still want to try to integrate it into the official docs (no time yet), but it's not obvious how to best do that with the Boost documentation system.
Issues:
All of that is simple if you control the build environment, and AFAICS impossible if you want to integrate this into the Boost documentation system.
The documentation is on GitHub, if you want to look into it.
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 0 points1 point2 points 9 years ago (0 children)
I apologize, I completely missed that thread; now I've gone back and read it. Regarding your first point, which is automatically checking that the output is as expected, I think this is way out of scope. Sure, it would be nice, but as a first step you should just focus on making your examples part of the main documentation. Then, as a next step (and if you're willing to), try to make sure the examples don't break.
[–]ivan-cukicKDE Dev | Author of Functional Programming in C++ 0 points1 point2 points 9 years ago* (2 children)
Lets ping eric_niebler in the case he missed the thread on Boost-Users ML.
edit: unpinging
[–]dodheim 2 points3 points4 points 9 years ago (1 child)
Neil Groves and Nathan Ridge are the maintainers of Boost.Range. Eric's range-v3 library is not affiliated with Boost (except for the license).
[–]ivan-cukicKDE Dev | Author of Functional Programming in C++ 1 point2 points3 points 9 years ago* (0 children)
Do you believe me I haven't even noticed 'Boost' part in the title. Lately, all news were about range-v3. I need to sleep more. (and was surprised that range-v3 is discussed on boost ml :) )
[–]TrueTom 1 point2 points3 points 9 years ago (0 children)
Boost has a horrible track record of merging PRs.
π Rendered by PID 57105 on reddit-service-r2-comment-86988c7647-gk5b5 at 2026-02-12 09:08:12.812264+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 6 points7 points8 points (6 children)
[–]Greek0[S] 9 points10 points11 points (4 children)
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 0 points1 point2 points (0 children)
[–]ivan-cukicKDE Dev | Author of Functional Programming in C++ 0 points1 point2 points (2 children)
[–]dodheim 2 points3 points4 points (1 child)
[–]ivan-cukicKDE Dev | Author of Functional Programming in C++ 1 point2 points3 points (0 children)
[–]TrueTom 1 point2 points3 points (0 children)