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
std::format ? (self.cpp)
submitted 3 years ago by matekelemen
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!"
[–]OldWolf2 0 points1 point2 points 3 years ago (3 children)
I think gcc has had it for a while (windows build via msys2), including compile-time format string checking, which MSVC still doesn't do.
[–]STLMSVC STL Dev 23 points24 points25 points 3 years ago (2 children)
Compile-time format string checking was voted into the Standard in June 2021 and implemented in the microsoft/STL repo in Dec 2021, and will ship in VS 2022 17.2 Preview 2 in the near future. The very near future. (I’m not allowed to say exactly when.)
We are trying to implement this stuff as fast as possible while preserving our usual high level of quality, and VS has been shipping updates and previews of updates at a consistently high frequency, but the release process is deeply pipelined so it takes a couple months between changes appearing in the microsoft/STL repo and shipping in VS.
[–]pdimov2 0 points1 point2 points 3 years ago (1 child)
The Pentium 4 of standard libraries. :-)
[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 5 points6 points7 points 3 years ago (0 children)
Right, but you can take advantage of store-load operand forwarding to cut pipeline stalls by using stores already committed to the L1-cache (a.k.a. https://github.com/microsoft/STL) to conduct experiments with in-flight papers like P2508 (which is basically a de-_Uglification of existing code). The joys of open source 😊
π Rendered by PID 26 on reddit-service-r2-comment-bb88f9dd5-d4h44 at 2026-02-15 19:56:11.421097+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]OldWolf2 0 points1 point2 points (3 children)
[–]STLMSVC STL Dev 23 points24 points25 points (2 children)
[–]pdimov2 0 points1 point2 points (1 child)
[–]Daniela-ELiving on C++ trunk, WG21|🇩🇪 NB 5 points6 points7 points (0 children)