r/cpp • • Apr 17 '26

cppreference is back up! but overloaded

I just clicked a link that wasn’t cached and noticed very long loading time. Eventually the page loaded, and I noticed the font was different. After Herb’s post, I was excited and noticed the homepage notice declared the site newly operational again! However I am experiencing a significant number of 5xx errors.

126 Upvotes

37 comments sorted by

View all comments

Show parent comment

2

u/johannes1971 Apr 18 '26

The grammar of std::format is a massive chunk of information, and it absolutely makes sense to not put that inline with every variation of std::format. But that is very much the exception; most arguments (already) have a description that can easily fit inline.

Do you really find the current format so enjoyable to read? Just a list of functions, followed by a number. You have to look up the number to see what it even does. The numbers hardly ever get reused, so there isn't much gained by splitting the information over multiple sections like that. And then to know details about the parameters you have to look up the names and find them in yet another section! Why not have everything together, what's so bad about that?

You could think of it as a 'small buffer optimisation' for descriptions, if that makes you feel better.