Where can I get the C++standard?

Many of the answers refer to the C++ standard, and where to get it?


This question is part of the community-supported Collection of educational resources on programming.

 100
Author: Дух сообщества, 2015-04-19

2 answers

The C++ standard is called International Standard ISO / IEC 14882:2017 (E) - Programming Language C++.

The number after the colon is the year of publication, the previous standards were in 2014, 2011, 2003, and 1998.

Official publication of the standard

The official edition of the standard is published by ISO, and costs money. You can buy it at ansi.org.

You can also read / download here.

Drafts of the standard

On the website open-std.org working papers of the committee on standardization, including drafts of the standard, are published.
When the next version of the standard is ready, a "Final Draft" is published, which is then sent to ISO. It is practically no different from the official publication of the standard. However, after the official publication is published, access to the final draft is closed.

Working draft PDF file

Last published version draft:
N4868 from 2020-10-18.

GitHub Repository

"The sources of the standard " are available on GitHub - https://github.com/cplusplus/draft
You can compile them in. pdf and get the most recent draft.

Final drafts

In this answer in English StackOverflow has an updated list of drafts of the standard, close to C++14, C++11 and other editions. Access to the final drafts is closed, but they can be found in on the Internet by their numbers.

Draft versions close to the official editions of the standard:


Also, a constantly updated draft of the standard in HTML form can be found here.

 103
Author: Abyx, 2020-12-10 08:50:11

At the end of 2016, the long-awaited translation "The C++ Standard: translation, comments, examples" was published, edited by Evgeny Zuev and A. A. Chuprinov. ISBN: 978-5-99079-159-6

 12
Author: em2er, 2017-03-18 15:15:45