Can I read the C++ 2011 FDIS anywhere?

2019-02-02 22:57发布

问题:

I probably can't, but I really would like to. Can I read the C++ 2011 FDIS anywhere?

回答1:

Post-C++11, Stefanus Du Toit (the new editor for the C++ standardization committee) is maintaining the standard draft on github. The github page states:

These are the sources used to generate drafts of the C++ standard. These sources should not be considered an ISO publication, nor should documents generated from them unless officially adopted by the C++ working group (ISO/IEC JTC1/SC22/WG21).

You can grab the LaTeX sources using

git clone https://github.com/cplusplus/draft.git

then build a PDF with

make document

The original check-in to this repository had (essentially) the same content as the C++11 standard as published by ISO; the changes since then have (so far) been purely editorial fixes.

It is worth noting that the wiki for the draft says:

This repository does not contain the official C++ standard.

In particular, changes made in that repository should not be considered official parts of the C++ language until they are ratified by ISO.

Update: A copy of the published standard with only minor editorial changes was included in the pre-Kona mailing as N3337.



回答2:

Here is the download link to the pdf [N3290]



回答3:

Can you download N3291? This will have the same text except that changes from the previous working draft N3242 are highlighted.

Update:

Try downloading the entire post-Madrid mailing either in zip format or in tar format. If the mailing don't require authorization, then you're in luck. They do contain N3290.

Update 2:

I've learned that making these documents protected was requested of the website maintainer in order to stay aligned with ISO JTC 1 rules.