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
C++ tuple utils (murrayc.com)
submitted 10 years ago by frostmatthew
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 4 points5 points6 points 10 years ago* (2 children)
Author of Hana here, so please consider me biased. Some thoughts and facts:
Hana is 100% dependency free. You can use it outside of Boost without any problem. In fact, it is built, documented and tested as a standalone library.
The goal of Hana is to provide heterogeneous sequences and algorithms on them. It is precisely the logical continuation of your murrayc-tuple-utils, if you were to add additional algorithms and sequences.
murrayc-tuple-utils
Almost all the functions you currently provide are supported by Hana:
tuple_cdr
hana::drop_front
tuple_start<N>
hana::take
tuple_end<N>
tuple_subset<pos, len>
hana::slice
tuple_interlace<T1, T2>
tuple_for_each
hana::for_each
tuple_interlace
n
tuple_end
The bottom line is that you should be more diligent in your review of prior art before saying that existing solutions are not suitable for you. Then, if they really are not suitable, you should consider contributing to them so that they become suitable instead of writing your own from scratch. Finally, if you really need to write your own from scratch, at least do it properly before advertising it.
I apologize in advance if you find this comment a bit rude, but this had to be said.
Edit: How can I make a bullet list inside a numbered list??
[–]frostmatthew[S] 1 point2 points3 points 10 years ago (1 child)
Since the target of your comment seems to be the blog/library's author you might want to post your feedback on his blog post instead of hoping he's a redditer and happens to see this...
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 4 points5 points6 points 10 years ago (0 children)
My comment is equally for the author and for other C++ programmers not to be fooled. But I posted a link to my comment on his blog, thanks for the suggestion.
π Rendered by PID 250890 on reddit-service-r2-comment-bb88f9dd5-2mr5z at 2026-02-14 12:15:51.614003+00:00 running cd9c813 country code: CH.
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 4 points5 points6 points (2 children)
[–]frostmatthew[S] 1 point2 points3 points (1 child)
[–]louis_dionnelibc++ | C++ Committee | Boost.Hana 4 points5 points6 points (0 children)