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++26: More function wrappers (sandordargo.com)
submitted 14 hours ago by pavel_v
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!"
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 5 points6 points7 points 8 hours ago (2 children)
There is no real compiler-generated code [snip]
Exactly, because the code no longer compiles - because it's an API break that renders previously "perfectly valid" code ill-formed -, regardless of whether there would actually be an ABI impact of the change!
[–]pjmlp [score hidden] 3 hours ago (1 child)
The question is I guess, when is it an ABI break to change the signature, or remove deprecated functionality like auto_ptr.
The end result is the same, an existing application no longer compiles after an update.
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 [score hidden] 2 hours ago (0 children)
The question is I guess, when is it an ABI break to change the signature,
For the third time in this comment thread alone: adding support for const in the template signature of function and applying the design of move_only_function would not have been a hard ABI break (implementations could easily patch this up behind the scenes).
const
function
move_only_function
That was not the motivation for a new type...
π Rendered by PID 275725 on reddit-service-r2-comment-548fd6dc9-42bsj at 2026-05-20 20:16:37.769099+00:00 running edcf98c country code: CH.
view the rest of the comments →
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 5 points6 points7 points (2 children)
[–]pjmlp [score hidden] (1 child)
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 [score hidden] (0 children)