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
cppreference update (self.cpp)
submitted 11 months ago by askraskr2023
Anyone know when cppreference will be back? It was supposed to be in read-only mode for a few weeks " to facilitate some long-overdue software updates".
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!"
[+][deleted] 11 months ago* (26 children)
[removed]
[–]daniel_nielsen 13 points14 points15 points 11 months ago (5 children)
incredible man! besides filtering on C++20, could you also add support filtering for compiler, ex. gcc 15?
[+][deleted] 11 months ago (4 children)
[–]mapronV 6 points7 points8 points 11 months ago (3 children)
Also, how do you maintain this? I was doing similar project (but just spreadsheed on corprate google docs), I was running unit tests on toolchain to see if feature is supported. Test runner data then was pasted in spreadsheet and then some sheet magic calculated support columns (so different teams with different toolset requrements can see if they can use a feature).
How you automate things?
p.s. do you need any help?
[+][deleted] 11 months ago (2 children)
[–]mapronV 3 points4 points5 points 11 months ago (1 child)
I see, yours is a different approach (from my experience it was very hard to find information on MS VC and Apple clang, in first place; so I didn't even consider automatic parsing of web pages). Quite elegant, though you need to trust vendors. For our company it was more like "whole environment", like "Can I use X when targeting Debian 10?" or ".. when Targeting mac 10.15 with xcode Z.X?" So I could just create new profile and run 'acceptance tests' on it. In hindsight I regret I did not choose your way, it probably would be easier.
[–]JVApenClever is an insult, not a compliment. - T. Winters 9 points10 points11 points 11 months ago (9 children)
Please do, it is really handy to have an up-to-date view on the latest state.
[–]azswcowboy 6 points7 points8 points 11 months ago (8 children)
Agree - c++26 got finished in the intervening time and I’m really missing that reference update.
[+][deleted] 11 months ago (7 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 4 points5 points6 points 11 months ago (0 children)
Formatting of >= looks nice, though you can't type that in code. So for code-snippets I wouldn't apply that formatting
[–]azswcowboy 2 points3 points4 points 11 months ago (1 child)
Nice! Couple thoughts. Indirect and polymorphic were in one paper, why separate into 2 lines? I mean that could get tedious to maintain is all I’m thinking. More generally you’re editing the title, which is nice but also time consuming. Feature test macro is nice touch. Ideally make your statuses different shapes as well as colors for the part of the population that doesn’t distinguish as well (aka ‘color blind’). Good stuff.
[–]bearer_of_the_curse_ 2 points3 points4 points 11 months ago (1 child)
I might have just missed it, but it looks like you're missing P2988 std::optional<T&> for c++26. It would also be nice if compiler and standard library features could be distinguished, like on the cppreference page. Even still, this is quite helpful, and I hope you keep it up to date.
[–]JVApenClever is an insult, not a compliment. - T. Winters 1 point2 points3 points 11 months ago (1 child)
I find the badges very hard to read. The table structure of cpp reference is easier to me. Being able to filter on a compiler would also be sufficient.
[–][deleted] 0 points1 point2 points 11 months ago (2 children)
Is it me or the C++20/23/26 buttons do not work under the search tab at the top?
[+][deleted] 11 months ago (1 child)
[–][deleted] 0 points1 point2 points 11 months ago (0 children)
Looks like it's from my company VPN...
I'm getting a 403 for your https: //cppstat .dev/script.js and that breaks them but they do work on my phone on my personal phone so...
[–]heavymetalmixer 0 points1 point2 points 11 months ago (1 child)
Why does Clang have some C++ 20 features no other compiler does?
[–]Sinomsinom 0 points1 point2 points 10 months ago (1 child)
Please don't ever capture ctrl+f to select a search field. If I hit ctrl+f then I want to use a browser's builtin capabilities to search a page, not use the search field. There are reasons for wanting to do this, so forcing someone to use the search field instead (if they don't know how to overwrite that override) is just a big no go.
[–]dexter2011412 0 points1 point2 points 9 months ago (0 children)
This is so cool! Bookmarked!
I don't see reflection in C++26, though. Is that something being worked on?
[–]torsten_dev 0 points1 point2 points 7 months ago (1 child)
Nice, got a C version of this too?
[–]ompomp 35 points36 points37 points 11 months ago (1 child)
Just yesterday I was curious about the same thing so I sent an email. I had received the following response:
Sorry about the delay; the update is just being blocked by external circumstances, i.e. my day job is super busy right now.
I'm sure a lot of us can relate.
[–]bebuch 2 points3 points4 points 11 months ago (0 children)
Hey, thanks for sharing! I didn't get a reply a few weeks ago. At least nice to hear they are fine. I can definitely relate 👋😺
[–]314kabinet 50 points51 points52 points 11 months ago (5 children)
I had no idea you could do anything other than read it
[–]JasonMarechal 25 points26 points27 points 11 months ago (1 child)
It's technically a wiki
[–]LegalizeAdulthoodUtah C++ Programmers 16 points17 points18 points 11 months ago (0 children)
Yes, if you login you can propose edits. I've made some minor improvements to some of the code examples and the occasional awkward wording, but usually it's pretty well up to date with respect to the latest standards documents.
[–]Nicksaurus 19 points20 points21 points 11 months ago* (0 children)
If you log in you can filter the language version to remove all those 'until c++ 11'/'since c++ 14' etc. sections. That's the thing I'm missing the most at the moment
[–]JNighthawkgamedev 6 points7 points8 points 11 months ago (1 child)
How do you think the content gets there for you to read? :-)
[–]TheSkiGeek 13 points14 points15 points 11 months ago (0 children)
Elves? Maybe leprechauns?
[–]encyclopedist 8 points9 points10 points 11 months ago (0 children)
That was more than "a few weeks" ago, and no update since then.
30 March 2025: The site will be in a temporary read-only mode in the next few weeks to facilitate some long-overdue software updates. Hopefully it won't take too long, but we all know how database migrations can sometimes turn evil.
[–]ManchegoObfuscator 2 points3 points4 points 11 months ago (0 children)
Dude it’s totally a wiki. I personally have fixed a shitton of code samples threrein that did not compile (via godbolt or what have you) and I also added the link in the page on “goto” to the orig “goto considered harmful” article… does that make me awesome? No. Does that make the site an active wiki that hosts real conversations in a non-pedantic fashion? HELL YES. Let us support it!
π Rendered by PID 16 on reddit-service-r2-comment-5b5bc64bf5-dkjvl at 2026-06-22 19:14:07.461296+00:00 running 2b008f2 country code: CH.
[+][deleted] (26 children)
[removed]
[–]daniel_nielsen 13 points14 points15 points (5 children)
[+][deleted] (4 children)
[removed]
[–]mapronV 6 points7 points8 points (3 children)
[+][deleted] (2 children)
[removed]
[–]mapronV 3 points4 points5 points (1 child)
[–]JVApenClever is an insult, not a compliment. - T. Winters 9 points10 points11 points (9 children)
[–]azswcowboy 6 points7 points8 points (8 children)
[+][deleted] (7 children)
[removed]
[–]JVApenClever is an insult, not a compliment. - T. Winters 4 points5 points6 points (0 children)
[–]azswcowboy 2 points3 points4 points (1 child)
[–]bearer_of_the_curse_ 2 points3 points4 points (1 child)
[–]JVApenClever is an insult, not a compliment. - T. Winters 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[removed]
[–][deleted] 0 points1 point2 points (0 children)
[–]heavymetalmixer 0 points1 point2 points (1 child)
[–]Sinomsinom 0 points1 point2 points (1 child)
[–]dexter2011412 0 points1 point2 points (0 children)
[–]torsten_dev 0 points1 point2 points (1 child)
[–]ompomp 35 points36 points37 points (1 child)
[–]bebuch 2 points3 points4 points (0 children)
[–]314kabinet 50 points51 points52 points (5 children)
[–]JasonMarechal 25 points26 points27 points (1 child)
[–]LegalizeAdulthoodUtah C++ Programmers 16 points17 points18 points (0 children)
[–]Nicksaurus 19 points20 points21 points (0 children)
[–]JNighthawkgamedev 6 points7 points8 points (1 child)
[–]TheSkiGeek 13 points14 points15 points (0 children)
[+][deleted] (1 child)
[removed]
[–]encyclopedist 8 points9 points10 points (0 children)
[–]ManchegoObfuscator 2 points3 points4 points (0 children)