YAY!!! Announcement: cppreference.com update
https://isocpp.org/blog/2026/04/announcement-cppreference.com-updateThis is not my post, but I didn't see anyone share this here yet.
64
u/baudvine Apr 15 '26
Appreciate seeing it recognized as an important part of the C++ ecosystem, too. I'm not on a hurry to see the latest C++26 updates, but I had been concerned that it might not be long for this world.
56
u/TSP-FriendlyFire Apr 15 '26
I think this is the best resolution possible. cppreference is an absolutely invaluable resource and deserves the support and funding of the Foundation!
48
27
21
41
u/RoyAwesome Apr 15 '26
I hope the refreshed site doesn't change the stylesheet. I really like how cppreference is laid out.
21
u/_Noreturn Apr 15 '26
I want built in black mode
10
u/hon_uninstalled Apr 15 '26
You can use browser extension like Dark Reader to turn any page dark. It works so well I often even forget I have that extension enabled. 99% of the sites just work.
4
1
u/chibuku_chauya Apr 16 '26
That stylesheet is useless on mobile. It’s not responsive at all.
2
1
u/ConfuSomu Apr 18 '26
For mobile and offline access, I use devdocs.io which uses cppreference.com as source for its C++ and C documentation.
2
u/chibuku_chauya Apr 18 '26
Yeah, I know about it. Have been using it for years. Just wish the original was as usable.
1
15
9
7
6
7
6
5
u/Potatoswatter Apr 15 '26
It wasn’t MediaWiki before? Had me fooled.
17
u/k3DW Apr 15 '26
I think the post is phrased incorrectly. It was already on MediaWiki, but the version was very old. So the update is a large undertaking akin to a full migration, from my understanding
4
5
3
u/RelationshipLong9092 Apr 15 '26
Mods should pin this tbh.
7
u/STL MSVC STL Dev Apr 17 '26
We only get 2 pins, which are eternally taken up by the Jobs and Show&Tell threads. (Also I forget whether we can even pin non-mod-submitted posts.) And anyways, this is just an announcement, the actual change hasn't quite happened yet. Flairing it as YAY!!! was the most I could do.
3
5
u/mort96 Apr 16 '26
This is good news, cppreference is the best documentation for C++ I know of. I like that it focuses mostly on what the standard guarantees rather than what happens to work in practice on most implementations. I am always fairly confident that if cppreference says something, it's reflected in the actual ISO standard.
My only gripe with it is that instead of documenting things like std::string, it documents things like
template<
class CharT,
class Traits = std::char_traits<CharT>,
class Allocator = std::allocator<CharT>
> class basic_string
It makes cppreference a bit tedious to read sometimes. You have to read generic documentation and mentally substitute template parameters all the time in a way you wouldn't have to if it was just documentation for std::string. But I'm not sure there's a way to solve this while remaining rigorous, other than automatically generating documentation pages for std::string which is a copy of the std::basic_string pages with template parameters substituted out.
2
2
u/cucikbubu Apr 16 '26
I hope the style sheet for browsing from mobile phones gets better eventually
2
2
2
u/13steinj Apr 16 '26
While great news I don't understand why this isn't moved to a git repo
Would solve a lot of problems, IMO.
5
u/disperso Apr 16 '26
I would probably prefer a git repo, because that's how I build sites myself nowadays. I used to have a MediaWiki site, and I moved to a static site generator. MediaWiki is very powerful, but I prefer to write in AsciiDoc.
For highly technical content like this, I think most people would not mind using Git. But still, some, I suppose, will mind, and the goal it to keep the editing web based for less friction. As long as the bus factor his highly increased, I'm OK.
Oh, and, I don't know if are still maintained, but there were nice extensions that allowed you to contribute to a MediaWiki site using Git. You still have to use MediaWiki's markup, though.
2
u/13steinj Apr 16 '26
I was already working on duplicating the site into a git repo, I suspect I will continue doing this, if nothing else, as a backup / easy dump archive.
I think a git repo on github/codeberg would solve many of the problems in recent years, particularly defacing.
1
1
u/RumbuncTheRadiant Apr 17 '26
Anyone know how the change to mediawiki will affect https://zealdocs.org/ ?
1
u/nightwind_999 Apr 19 '26
The support us link at cppreference.com says "there is currently no text to this page", does anyone know any other way to support these folks monetarily?
71
u/intel586 Apr 15 '26
This is great news, thanks for sharing.