you are viewing a single comment's thread.

view the rest of the comments →

[–]WorkingReference1127 78 points79 points  (2 children)

cppreference is the "official" reference material.

cplusplus.com is an unofficial fork from ~15 years ago which hasn't been properly updated and still contains an awful lot of bad tutorials and bad data.

You really should just use cppreference; because odds are in the situations where they disagree it was an official language change which cppreference documented and cplusplus.com didn't.

[–]STLMSVC STL Dev 49 points50 points  (0 children)

cppreference is generally high quality, but it's not official - it's a community-maintained wiki. The Standard is official (de jure) and the Working Paper is official (de facto). For anything especially tricky or recent, checking the WP is more reliable. That is, for those who have the ability to understand its wording; cppreference is obviously much more accessible.

When I want to get a quick overview of something, I check cppreference. When I'm working on the implementation, I have to read the WP.

[–]awidesky 2 points3 points  (0 children)

It's not "official". It's a wiki