Can I read the C++ 2011 FDIS anywhere?

后端 未结 3 831
春和景丽
春和景丽 2020-12-29 05:03

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

3条回答
  •  臣服心动
    2020-12-29 05:09

    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.

提交回复
热议问题