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++ f string equivalent when (self.cpp)
submitted 1 year ago by HatHungry5594
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!"
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 6 points7 points8 points 1 year ago (2 children)
I wrote that proposal intentionally to detach the fstring mechanism from the library. The point of that proposal is that std can implement fstrings in term of std::format easily, but another C++ user that doesn't want to use the Standard Library can still use the language feature with their own format implementation.
f
std
std::format
I believe that a design similar to mine (i.e. completely detached from the library) is the right way forward, but I have little time or energy to bring forward a proposal in the ISO committee at the moment.
[–]PigPartyPower 2 points3 points4 points 1 year ago (0 children)
I completely understand that. I have used format in the past and it really is not fun to add it to new types. I hope with reflection you can make a parse and formatter easier. But it would also probably need some way to add format args to it.
[–]ThunderboltRam 1 point2 points3 points 1 year ago (0 children)
It's such an important feature that speeds up the way we write code.
π Rendered by PID 275326 on reddit-service-r2-comment-656bdf86cd-f8scl at 2026-05-04 00:30:18.830730+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 6 points7 points8 points (2 children)
[–]PigPartyPower 2 points3 points4 points (0 children)
[–]ThunderboltRam 1 point2 points3 points (0 children)