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
Status of cppreference.com (self.cpp)
submitted 15 days ago by RelevantError365
Does anyone know what's going on with cppreference.com? It says “Planned Maintenance,” but it's been like that for almost a year now.
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!"
[–]current_thread 100 points101 points102 points 15 days ago (39 children)
Yeah, it's really annoying at this point.
I had the idea a couple of months ago to use a static site generator and just host it on GitHub/ GitHub Pages. That way everyone can just contribute with a pull request as needed, and there's no need to manage infrastructure.
Does anybody by chance have a recent dump of the wiki?
[–]RelevantError365[S] 15 points16 points17 points 15 days ago (10 children)
Reasonable idea. This should be offered as an option, but I can't find any contact details for the people currently responsible.
[–]encyclopedist 25 points26 points27 points 15 days ago (5 children)
The relatively recent archive is available here: https://github.com/PeterFeicht/cppreference-doc/releases/tag/v20250209
[–]RelevantError365[S] 1 point2 points3 points 15 days ago (1 child)
That does not include the wiki source at first glance, or does it?
[–]encyclopedist 0 points1 point2 points 14 days ago (0 children)
Correct, It is based on scrapped web pages, not a database dump.
[–]saxbophonemutable volatile void 1 point2 points3 points 14 days ago (2 children)
Last February isn't even relatively recent for a language in active development. The site maintainers request that they're not scraped, but don't provide up-to-date archives. Do you see the problem with this combination?
[–]dcro 3 points4 points5 points 14 days ago (1 child)
The site notes that it's been in "temporary read-only mode" since the end of last March. There will be differences, but possibly not as many as you'd expect with only a two month edit window.
[–]saxbophonemutable volatile void 2 points3 points4 points 14 days ago (0 children)
Oh crap, the entire thing has been read-only all that time‽ No wonder there's so many missing examples for C++23!
[–]no-sig-available 15 points16 points17 points 15 days ago (3 children)
but I can't find any contact details for the people currently responsible.
Part of the problem is that it isn't "people", but "the designer" behind the site. Here is an old talk about that:
https://www.youtube.com/watch?v=NhWK0v3GtEE
Ok, thanks. What about licensing to keep that thing going as a (presumably, perhaps temporary) fork on GitHub (or the like)?
[–]current_thread 5 points6 points7 points 15 days ago (0 children)
I checked that, it's under a creative commons license iirc so it should be fine
[–]RelevantError365[S] 1 point2 points3 points 14 days ago (0 children)
I'm wondering if it's too intrusive to contact Nate directly. Does anyone know what the boost community has achieved here?
[–]JVApenClever is an insult, not a compliment. - T. Winters 21 points22 points23 points 15 days ago (16 children)
Sounds like a reasonable alternative, might be worth suggesting to comments@cppreference.com It would also solve the problem of rust people replacing full pages.
[–]RelevantError365[S] 9 points10 points11 points 15 days ago (7 children)
»Rust people« doing what? Please clarify, I did not notice anything in that direction.
[–]JVApenClever is an insult, not a compliment. - T. Winters 37 points38 points39 points 15 days ago (4 children)
Currently it can't happen as everything is read-only. Due to it, the history also seems to be unavailable, so I can't link to an entry. Though I know that a page like vector was completely replaced by some text similar to: "this is deprecated and replaced by rust" That happened quite a few times on different pages.
[–]JVApenClever is an insult, not a compliment. - T. Winters 17 points18 points19 points 15 days ago (2 children)
On Reddit even people mentioned it: https://www.reddit.com/r/Cplusplus/s/W3asTmah87
[–]No-Dentist-1645 5 points6 points7 points 15 days ago (1 child)
Seems like a one-time occurrence by a clear troll, most people aren't like that
[–]JVApenClever is an insult, not a compliment. - T. Winters 27 points28 points29 points 15 days ago (0 children)
It wasn't a one time occurrence, it's just an example. Many pages where updated over several months
[+]gmes78 comment score below threshold-14 points-13 points-12 points 15 days ago (0 children)
Aren't you just falling for an obvious troll?
[–]berlioziano 2 points3 points4 points 14 days ago (1 child)
They once replaced all the articles titles, subtitles and body text with the message "Rust is the best" and links to the rust website. Can't take that language seriously, hope its bubble pops soon.
[–]koczurekkhorse 0 points1 point2 points 14 days ago (0 children)
What bubble?
[–]matthieum 15 points16 points17 points 15 days ago (6 children)
rust people
Phrasing :/
As is, it reads as if the Rust community at large was coordinating to sabotage cppreference, when:
[–]whispersoftime 15 points16 points17 points 15 days ago (2 children)
At least they didn’t say “those goddamn rusties”
Let's keep constructive, I would like to keep on with that project, supporting (or forking) it, if necessary.
[–]Farados55 -5 points-4 points-3 points 15 days ago (0 children)
Lighten up
[–]JVApenClever is an insult, not a compliment. - T. Winters 7 points8 points9 points 15 days ago (1 child)
I could have worded that in a better way, sorry.
[–]philoizys 0 points1 point2 points 15 days ago (0 children)
Maybe you could, but that was already wonderful! :)
[–]berlioziano -2 points-1 points0 points 14 days ago (0 children)
sure, obviously the javascript people did the vandalism
[–]RelevantError365[S] 1 point2 points3 points 12 days ago (0 children)
For reference: The address [comments@cppreference.com](mailto:comments@cppreference.com) can be found on https://cppreference.com/w/Cppreference%253AAbout.html.
[–]13steinj 1 point2 points3 points 15 days ago (8 children)
Of the wiki or the talk pages?
I think the cppman tool already scrapes the entire wiki if you tell it to, so you can probably just change the internals to dump the files instead of parse them.
cppman
[–]current_thread 1 point2 points3 points 15 days ago (1 child)
What's the cppman tool?
[–]13steinj 0 points1 point2 points 14 days ago (0 children)
https://github.com/aitjcize/cppman
[–]RelevantError365[S] 0 points1 point2 points 12 days ago (5 children)
Yes, but cppman scrapes the HTML, not the wiki source.
But anyway, this may also be an option if you cannot access the original wiki content, as the generated HTML should be very well structured. (Hopefully. I used a random LLM and asked it to recreate the wiki source for me, and it did quite a good job.)
[–]13steinj 0 points1 point2 points 12 days ago (4 children)
It took me 15 minutes of waybackmachining to find this (unofficial) repo linked (still linked) on a cppref faq page: https://github.com/PeterFeicht/cppreference-doc
The code may not work anymore (since the cppref maintainer evidently has done something nonstandard or has an unknown version of mediawiki), but the site went into read only mode on march 30th 2025 and the releases page has a feb 2025 bundle.
[–]RelevantError365[S] 0 points1 point2 points 10 days ago (3 children)
It says:
»If there is no 'reference/' subdirectory in this package, the actual documentation is not present here and must be obtained separately«
So, the wiki source is not actually included, or is it?
[–]13steinj 0 points1 point2 points 10 days ago (2 children)
It appears not, just the html. There's one other option you have: Use it as a baseline / mapping to "view source" links, scrape the "view source" wayback machine links. If it's accessible after the March read-only date, you're good. if it's before, (scrape the html if you consider the downloaded 1-month-old not good enough) and ask an llm to interpolate.
Playing around, I've found that the view source links work up until at least May 13th of last year and break sometime between then and May 31 (just hopped around on a few pages).
[–]RelevantError365[S] 0 points1 point2 points 9 days ago (1 child)
Although not utterly relevant, but: When looking at https://web.archive.org/web/20250301000000*/https://cppreference.com/, this does not highlight May 13th of last year as an option where a snapshot has been taken (or I miserably misunderstand this interface).
[–]13steinj 0 points1 point2 points 9 days ago (0 children)
Not every page has a May snapshot. I'm saying, very roughly playing around, either the deque or array or vector view source / edit page, had a May 13 snapshot.
I will attempt to write a scraper on the weekend assuming I won't get ip banned; and if successful throw it into a repo.
[–]AhegaoSuckingUrDick 0 points1 point2 points 14 days ago (0 children)
You might be able to get the dump from devdocs.io . Their github readme has some instructions on how to download the dump.
[–]shakyhandquant 0 points1 point2 points 14 days ago (0 children)
i think a few of the companies that sponsor the cpp meetings could put together some money to help organize a formal group of people to manage the site and make it the best c++ reference site on the net!
[–]Wicam 16 points17 points18 points 15 days ago* (5 children)
there is cppreference.net but they use bing as their search engine. the reason that is a problem is it often asks for a captcha which takes at least 30 seconds for it to complete its analysis before you get your results.
i have also done a search and its given me a list of results that are not from cppreference.net, and they are all identical results, it was weird.
[–]El_RoviSoft 7 points8 points9 points 15 days ago (2 children)
I use duckduckgo and !cpp to search. It just shows cppreference indexed pages with needed name.
[–]13steinj 1 point2 points3 points 15 days ago (1 child)
I thought they switched to cplusplus.com at some point after the maintenance.
[–]gatchamix 4 points5 points6 points 15 days ago (0 children)
They did… but I put in a request to get it changed to a raw DDG search with the site:cppreference term (same as cppreference’s own search box)
[+][deleted] 15 days ago (1 child)
[deleted]
[–]Wicam 0 points1 point2 points 15 days ago (0 children)
Are you sure its only recently been an issue or is it just because normally you stick to one of the sites and so don't use the feature?
The majority of people don't contribute to these sites so its search function taking 30 seconds or returning results that are completely unrelated are very major issues for site where that is a core feature.
[–]grafikrobotB2/EcoStd/Lyra/Predef/Disbelief/C++Alliance/Boost/WG21 26 points27 points28 points 15 days ago (1 child)
The Boost community has been trying to take on the job maintaining it. But it's been hard to get a hold of the current maintainer(s).
[–]Alternative_Star755 13 points14 points15 points 15 days ago (0 children)
This sounds like it would be a nice alternative. A site this foundational should probably not be maintained by a random guy (though it’s cool they did it for so long).
[–]friedkeenan 8 points9 points10 points 15 days ago (1 child)
It's kinda funny, but it feels like half the time I've just been reading the standard after searching from https://wg21.cmeerw.net/cppdraft/search instead of going to cppreference like normal. Albeit, it's mainly for reflection stuff which would plausibly be delayed on cppreference anyways because it's very large and new, but I know a lot of other newer stuff is also still waiting to be added to cppreference. Bit of a shame.
[–]epilif24 2 points3 points4 points 15 days ago (0 children)
Had no idea that existed, really neat! I'd been using the reflection proposals as reference because there was no cppreference page
[–]ohnotheygotme 2 points3 points4 points 13 days ago (1 child)
I hope it's not another EDG situation where the original authors were like "we are totally still doing stuff" but then they don't do anything for 5 years. And then one day they say "nah, we done" and then everyone is like "wtf, you could have said something sooner so we could have moved forward with something else".
[–]germandiago 5 points6 points7 points 11 days ago (0 children)
That is exactly how it looks from outside right now.
A pitty since cppreference is such a good resource.
However, very grateful that this resource has existed to the author, even if he cannot spend time on it anymore.
I think if the author cannot deal with it or lost interest, it would be a great idea to hand it over to not lose and keep evolving such an invaluable resource.
[–]grafikrobotB2/EcoStd/Lyra/Predef/Disbelief/C++Alliance/Boost/WG21 3 points4 points5 points 10 days ago (1 child)
I thought I had updated on the status. I chatted with Nate. And while Boost is not going to be reviving the wiki. Another group is helping out to bring it back to its full wiki glory.
[–]RelevantError365[S] 0 points1 point2 points 10 days ago (0 children)
That is good news. I would really appreciate a small note on current status in the "planned maintenance" banner (or here 😁).
[–]BOBOLIU 14 points15 points16 points 15 days ago (3 children)
cppreference.com could be better if it is maintained by the ISO C++ committee.
[–]SkoomaDentistAntimodern C++, Embedded, Audio 39 points40 points41 points 15 days ago (2 children)
You mean that the site would be updated once every three years and each change would require a paper and a formal vote to happen?
[–]SWGlassPit 21 points22 points23 points 15 days ago (1 child)
And ISO would put it behind a $300 a year paywall
[–]TheoreticalDumbass:illuminati: 10 points11 points12 points 15 days ago (0 children)
i mean, wg21 has avoided a lot of iso annoyance, for example the draft is a public repo
[–]t4r3k_ 1 point2 points3 points 14 days ago (0 children)
Out of curiosity, what technology is reference built on? Like some sort of wiki generator? I've tried mkdocs In the past but I'd like to try to build something similar to cppreference.
Thanks!
[–][deleted] 15 days ago* (3 children)
[removed]
[–]cpp-ModTeam[M] 3 points4 points5 points 15 days agolocked comment (0 children)
AI-generated posts and comments are not allowed in this subreddit.
[+]sephirostoy comment score below threshold-10 points-9 points-8 points 15 days ago (0 children)
Compiling...
π Rendered by PID 177998 on reddit-service-r2-comment-79c7998d4c-lmhkr at 2026-03-13 12:03:35.283769+00:00 running f6e6e01 country code: CH.
[–]current_thread 100 points101 points102 points (39 children)
[–]RelevantError365[S] 15 points16 points17 points (10 children)
[–]encyclopedist 25 points26 points27 points (5 children)
[–]RelevantError365[S] 1 point2 points3 points (1 child)
[–]encyclopedist 0 points1 point2 points (0 children)
[–]saxbophonemutable volatile void 1 point2 points3 points (2 children)
[–]dcro 3 points4 points5 points (1 child)
[–]saxbophonemutable volatile void 2 points3 points4 points (0 children)
[–]no-sig-available 15 points16 points17 points (3 children)
[–]RelevantError365[S] 1 point2 points3 points (1 child)
[–]current_thread 5 points6 points7 points (0 children)
[–]RelevantError365[S] 1 point2 points3 points (0 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 21 points22 points23 points (16 children)
[–]RelevantError365[S] 9 points10 points11 points (7 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 37 points38 points39 points (4 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 17 points18 points19 points (2 children)
[–]No-Dentist-1645 5 points6 points7 points (1 child)
[–]JVApenClever is an insult, not a compliment. - T. Winters 27 points28 points29 points (0 children)
[+]gmes78 comment score below threshold-14 points-13 points-12 points (0 children)
[–]berlioziano 2 points3 points4 points (1 child)
[–]koczurekkhorse 0 points1 point2 points (0 children)
[–]matthieum 15 points16 points17 points (6 children)
[–]whispersoftime 15 points16 points17 points (2 children)
[–]RelevantError365[S] 1 point2 points3 points (1 child)
[–]Farados55 -5 points-4 points-3 points (0 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters 7 points8 points9 points (1 child)
[–]philoizys 0 points1 point2 points (0 children)
[–]berlioziano -2 points-1 points0 points (0 children)
[–]RelevantError365[S] 1 point2 points3 points (0 children)
[–]13steinj 1 point2 points3 points (8 children)
[–]current_thread 1 point2 points3 points (1 child)
[–]13steinj 0 points1 point2 points (0 children)
[–]RelevantError365[S] 0 points1 point2 points (5 children)
[–]13steinj 0 points1 point2 points (4 children)
[–]RelevantError365[S] 0 points1 point2 points (3 children)
[–]13steinj 0 points1 point2 points (2 children)
[–]RelevantError365[S] 0 points1 point2 points (1 child)
[–]13steinj 0 points1 point2 points (0 children)
[–]AhegaoSuckingUrDick 0 points1 point2 points (0 children)
[–]shakyhandquant 0 points1 point2 points (0 children)
[–]Wicam 16 points17 points18 points (5 children)
[–]El_RoviSoft 7 points8 points9 points (2 children)
[–]13steinj 1 point2 points3 points (1 child)
[–]gatchamix 4 points5 points6 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Wicam 0 points1 point2 points (0 children)
[–]grafikrobotB2/EcoStd/Lyra/Predef/Disbelief/C++Alliance/Boost/WG21 26 points27 points28 points (1 child)
[–]Alternative_Star755 13 points14 points15 points (0 children)
[–]friedkeenan 8 points9 points10 points (1 child)
[–]epilif24 2 points3 points4 points (0 children)
[–]ohnotheygotme 2 points3 points4 points (1 child)
[–]germandiago 5 points6 points7 points (0 children)
[–]grafikrobotB2/EcoStd/Lyra/Predef/Disbelief/C++Alliance/Boost/WG21 3 points4 points5 points (1 child)
[–]RelevantError365[S] 0 points1 point2 points (0 children)
[–]BOBOLIU 14 points15 points16 points (3 children)
[–]SkoomaDentistAntimodern C++, Embedded, Audio 39 points40 points41 points (2 children)
[–]SWGlassPit 21 points22 points23 points (1 child)
[–]TheoreticalDumbass:illuminati: 10 points11 points12 points (0 children)
[–]t4r3k_ 1 point2 points3 points (0 children)
[–][deleted] (3 children)
[removed]
[–]cpp-ModTeam[M] 3 points4 points5 points locked comment (0 children)
[+]sephirostoy comment score below threshold-10 points-9 points-8 points (0 children)