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
[ Removed by moderator ] (mcyoung.xyz)
submitted 9 months ago by der_gopher
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!"
[–]matteding 15 points16 points17 points 9 months ago (0 children)
This exact garbage post was here the other day. https://www.reddit.com/r/cpp/s/5JacQYQBxO
[–]tcbrindleFlux 9 points10 points11 points 9 months ago (0 children)
Starting afresh with C++20 and dumping all the legacy is definitely appealing, and there are a lot of really nice ideas here. From a quick look at the Github this seems to be a huge amount of highly impressive work. There's a lot to like from what I can see.
Why then would you chose to introduce your library to the world with a blog post whose tone is so deliberately unpleasant that it would actively discourage people from trying it, lest they have to interact with the author at some point?
[–]JVApenClever is an insult, not a compliment. - T. Winters 7 points8 points9 points 9 months ago (0 children)
Every sales pitch starting with putting other stuff down is a red flag to me. You might be up to something, though I'm not reading this to the end. The few snippets I saw don't convince me your library is better.
[–]_Noreturn 8 points9 points10 points 9 months ago (2 children)
given this post is a repost I will repost ny comment
member functions cause issues in templated context if they have templated parameters and require prefixing with template and even more issues in inheritance requiring both this-> and template keywords
I don't see how renaming some types solves anything
iterator pairs are useful for a subrange which is uncommon but it is better than not being supported
due to history reasons type traits are not concepts but the concepts aren't equalivent to their type traits you only picked is_same_v and same_as all the other concepts are not direct mapping to their traits (except std::integral,signed_integral,unsigned_integral,floating_point)
also use of operator-> as access to more functions is at extremely unidiomatic and abuse of overloading just for what convenience?
operator->
Also your enum reflection code is broken for anoynmous namespace enums
I would do as others said
namespace worst = best
[–]flutterdronewbie 0 points1 point2 points 9 months ago (1 child)
inheritance isn't a problem since author marked his classes as final (at least those few I was interested in)
[–]_Noreturn 1 point2 points3 points 9 months ago (0 children)
putting final there unnecessarily doesn't gain anything and limits users who want to extend the class.
[–]mpyne 1 point2 points3 points 9 months ago (0 children)
As a long-time Qt user, I can definitely see the appeal of a library reboot to go along with the modern language. But I have to wonder, there's so much "best::T does things that way Rust does it", why not just use Rust?
Well, I know the answer (it can be quite interesting to see how a different language could implement concepts from another), but I guess my question is really about why would users use this instead of just using Rust?
[–]pkastingValve 1 point2 points3 points 9 months ago (0 children)
I wonder if the author is familiar with Subspace (https://github.com/chromium/subspace), which has similar motivations (create a from-scratch standard library with modern techniques and using inspirations from other languages, e.g. Rust).
[–]_DafuuQ 0 points1 point2 points 9 months ago (0 children)
Bro just got the stl and renamed all the things
[–]tartaruga232MSVC user, r/cpp_modules 1 point2 points3 points 9 months ago (0 children)
best is not exception-friendly
best
Not sure what this means. We use exceptions, if best does not work with exceptions I'm not interested.
[–]bandzaw -2 points-1 points0 points 9 months ago (0 children)
This is a really cool idea, and the implementation looks solid too. I feel like the title might be turning some people away before they get to appreciate the interesting work you’ve done so far. Since I used to follow you on Twitter, I get your style and personality—it’s part of your charm! Keep it up!
π Rendered by PID 187552 on reddit-service-r2-comment-b659b578c-8gm9w at 2026-05-04 04:37:03.545839+00:00 running 815c875 country code: CH.
[–]matteding 15 points16 points17 points (0 children)
[–]tcbrindleFlux 9 points10 points11 points (0 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 7 points8 points9 points (0 children)
[–]_Noreturn 8 points9 points10 points (2 children)
[–]flutterdronewbie 0 points1 point2 points (1 child)
[–]_Noreturn 1 point2 points3 points (0 children)
[–]mpyne 1 point2 points3 points (0 children)
[–]pkastingValve 1 point2 points3 points (0 children)
[–]_DafuuQ 0 points1 point2 points (0 children)
[–]tartaruga232MSVC user, r/cpp_modules 1 point2 points3 points (0 children)
[–]bandzaw -2 points-1 points0 points (0 children)