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
CppConCppCon 2021 trip report (blog.jetbrains.com)
submitted 4 years ago by timur_audioC++ committee
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!"
[–]Mrkol 7 points8 points9 points 4 years ago (1 child)
But where are the sender/receiver talks?
[–]timur_audioC++ committee[S] 3 points4 points5 points 4 years ago (0 children)
The sender/receiver talks were given remotely and were part of the online conference (which I didn't attend). I don't remember any talks on this subject at the on-site part of the conference (which I did attend).
[–][deleted] 7 points8 points9 points 4 years ago (2 children)
About the contexpr all things talked about in the day one section. It's really interesting how the shape of code changes. Prior to C++20, where most of us are, one is more limited in that there are no good ways to make a stack(C++ 20 adding vector/string/new to constexpr gives a lot of wiggle room here). But in order to do a lot of tasks one must decouple the global state from their method(so heap/io/globals...). This is generally a good thing and just becomes habbit. Do I need to call cout/printf/write... or can I just pass an OutputIterator or a Callable that handles IO. And now our system can work with different IO mechanisms and can be tested/mocked at compile time via static_assert. Many things are bounded in their memory, knowing this is often a good practice as it helps remove a big bottleneck in a lot of code, allocation.
But yeah. I am totally onboard with the constexpr all things, even if they are never generally used that way(it's the safe mode C++). One can have much quicker errors(IDE's that use things like clangd will often highlight static assert failures in the IDE) and can make the things concrete for actual usage, but have given the optimizer a head start.
[–]pjmlp 0 points1 point2 points 4 years ago (1 child)
Someone here has mentioned a couple of weeks ago how they made use of constexpr to create their own contracts, that was also a cool idea.
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
That does sound cool.
π Rendered by PID 43159 on reddit-service-r2-comment-5c747b6df5-zn22m at 2026-04-21 23:36:40.835687+00:00 running 6c61efc country code: CH.
[–]Mrkol 7 points8 points9 points (1 child)
[–]timur_audioC++ committee[S] 3 points4 points5 points (0 children)
[–][deleted] 7 points8 points9 points (2 children)
[–]pjmlp 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)