Skip to content

Commit 26ce93d

Browse files
committed
feat(C++国際標準規格): 引用規格情報とC規格の表を追加
1 parent 1e0f1cc commit 26ce93d

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

international-standard.md

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ C++ の標準規格は、他にも各国の規格化団体によって国際標
1010

1111
## <a href="#list-of-iso-cpp" id="list-of-iso-cpp">国際標準規格の一覧</a>
1212

13-
| 通称<sup><a href="#note-t1-1" id="note_ref-t1-1">†1</a></sup> | 名称 | 参照する規格案<sup><a href="#note-t1-2" id="note_ref-t1-2">†2</a></sup> | 規格案・原案 | `__cplusplus` |
14-
|:--|:--|:--|:--|:--|
15-
| [C++26](lang/cpp26.md) (C++2c) | ISO/IEC 14882:2026 (予定) | N5014([PDF](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/n5014.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/)) | N5014 N5008 N5001 N4993 N4986 N4981 N4971 N4964 N4958 | -- |
16-
| [C++23](lang/cpp23.md) (C++2b) | ISO/IEC 14882:2024 | N4950([PDF](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4950/)) | N4950 N4944 N4928 N4917 N4910 N4901 N4892 N4885 N4878<br/>N4868 N4861 | `202302L` |
17-
| [C++20](lang/cpp20.md) (C++2a) | ISO/IEC 14882:2020 | N4861<sup><a href="#note-t1-3" id="note_ref-t1-3">†3</a></sup>([PDF](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4861.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4861/)) | N4860 N4849 N4842 N4835 N4830<br/>N4820 N4810 N4800 N4791 <del>N4788</del><sup><a href="#note-t1-4" id="note_ref-t1-4">†4</a></sup><br/>N4778 N4762 N4750 N4741 N4727<br/>N4713 N4700 N4687 | `202002L` |
18-
| [C++17](lang/cpp17.md) (C++1z) | ISO/IEC 14882:2017 | N4659([PDF](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4659/)) | N4660 N4659 N4640 N4618 N4606<br/>N4594 N4582 N4567 N4527 N4431<br/>N4296 | `201703L` |
19-
| [C++14](lang/cpp14.md) (C++1y) | ISO/IEC 14882:2014 | N4140([PDF](https://github.com/cplusplus/draft/blob/master/papers/n4140.pdf?raw=true)/[HTML](https://timsong-cpp.github.io/cppwp/n4140/)) | N4141 N4140 N3937 N3936 N3797<br/>N3691 N3690 N3485 N3376 N3337 | `201402L` |
20-
| [C++11](lang/cpp11.md) (C++0x) | ISO/IEC 14882:2011 | N3337<sup><a href="#note-t1-5" id="note_ref-t1-5">†5</a></sup>([PDF](https://wg21.link/std11)/[HTML](https://timsong-cpp.github.io/cppwp/n3337/)) | N3291 N3290 N3242 N3225 N3126<br/>N3090 N3035 N3000 N2960 N2914<br/>N2857 N2798 N2723 N2691 N2606<br/>N2588 N2521 N2461 N2369 N2315<br/>N2284 N2134 N2009 N1905 N1804<br/>N1733 N1655 | `201103L` |
21-
| C++03 | ISO/IEC 14882:2003 | N1577 | N1577 ? | `199711L`<br/>(C++98 と同じ) |
22-
| C++98 | ISO/IEC 14882:1998 | ? | ? | `199711L` |
13+
| 通称<sup><a href="#note-t1-1" id="note_ref-t1-1">†1</a></sup> | 名称 | 参照する規格案<sup><a href="#note-t1-2" id="note_ref-t1-2">†2</a></sup> | 規格案・原案 | `__cplusplus` | 引用規格 |
14+
|:--|:--|:--|:--|:--|:--|
15+
| [C++26](lang/cpp26.md) (C++2c) | ISO/IEC 14882:2026 (予定) | N5014([PDF](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/n5014.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/)) | N5014 N5008 N5001 N4993<br/>N4986 N4981 N4971 N4964 N4958 | -- | C23, POSIX.1-2017 |
16+
| [C++23](lang/cpp23.md) (C++2b) | ISO/IEC 14882:2024 | N4950([PDF](https://open-std.org/jtc1/sc22/wg21/docs/papers/2023/n4950.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4950/)) | N4950 N4944 N4928 N4917 N4910<br/>N4901 N4892 N4885 N4878 N4868<br/>N4861 | `202302L` | C17, POSIX.1-2017 |
17+
| [C++20](lang/cpp20.md) (C++2a) | ISO/IEC 14882:2020 | N4861<sup><a href="#note-t1-3" id="note_ref-t1-3">†3</a></sup>([PDF](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/n4861.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4861/)) | N4860 N4849 N4842 N4835 N4830<br/>N4820 N4810 N4800 N4791 <del>N4788</del><sup><a href="#note-t1-4" id="note_ref-t1-4">†4</a></sup><br/>N4778 N4762 N4750 N4741 N4727<br/>N4713 N4700 N4687 | `202002L` | C17, POSIX.1-2001 |
18+
| [C++17](lang/cpp17.md) (C++1z) | ISO/IEC 14882:2017 | N4659([PDF](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf)/[HTML](https://timsong-cpp.github.io/cppwp/n4659/)) | N4660 N4659 N4640 N4618 N4606<br/>N4594 N4582 N4567 N4527 N4431<br/>N4296 | `201703L` | C11/TC1, POSIX.1-2001 |
19+
| [C++14](lang/cpp14.md) (C++1y) | ISO/IEC 14882:2014 | N4140([PDF](https://github.com/cplusplus/draft/blob/master/papers/n4140.pdf?raw=true)/[HTML](https://timsong-cpp.github.io/cppwp/n4140/)) | N4141 N4140 N3937 N3936 N3797<br/>N3691 N3690 N3485 N3376 N3337 | `201402L` | C99/TC3, POSIX.1-2001 |
20+
| [C++11](lang/cpp11.md) (C++0x) | ISO/IEC 14882:2011 | N3337<sup><a href="#note-t1-5" id="note_ref-t1-5">†5</a></sup>([PDF](https://wg21.link/std11)/[HTML](https://timsong-cpp.github.io/cppwp/n3337/)) | N3291 N3290 N3242 N3225 N3126<br/>N3090 N3035 N3000 N2960 N2914<br/>N2857 N2798 N2723 N2691 N2606<br/>N2588 N2521 N2461 N2369 N2315<br/>N2284 N2134 N2009 N1905 N1804<br/>N1733 N1655 | `201103L` | C99/TC3, POSIX.1-2001 |
21+
| C++03 | ISO/IEC 14882:2003 | N1577 | N1577 ? | `199711L`<br/>(C++98 と同じ) | C99 |
22+
| C++98 | ISO/IEC 14882:1998 | ? | ? | `199711L` | ? | C95 |
2323

2424
1. <a href="#note_ref-t1-1" id="note-t1-1">**^**</a> カッコ内は策定時・標準化前に一時的に用いられた通称
2525
2. <a href="#note_ref-t1-2" id="note-t1-2">**^**</a> 最終国際規格案はPDFやHTMLなどの形で一般公開されていないため、それにほぼ同一の内容の規格案を参照する。
@@ -34,6 +34,25 @@ C++ の標準規格は、他にも各国の規格化団体によって国際標
3434
標準規格の文章はtexで書かれており、そのソースコードは以下で2011年8月16日以降のものについて(つまりN3291より後、N3337より前)公開されている。
3535
[cplusplus/draft: C++ standards drafts](https://github.com/cplusplus/draft)
3636

37+
## <a href="#list-of-iso-c" id="list-of-iso-c">C標準規格の一覧</a>
38+
39+
以下、主な C 規格と C++ が参照する技術報告 (technical report; TC) の一覧である。
40+
41+
| 通称 | 名称 | 参照する規格案 | `__STDC_VERSION__` |
42+
|:--|:--|:--|:--|
43+
| C?? (C2Y) | ISO/IEC 9899:???? | N3685([PDF](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3685.pdf)) (暫定) | ? |
44+
| **C23** (C2X) | ISO/IEC 9899:2024 | N3096([PDF](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf)) | `202311L` |
45+
| **C17** (C18) | ISO/IEC 9899:2018 | N2176 | `201710L` |
46+
| C11 TC1 | ISO/IEC 9899:2011/Cor 1:2012 | ? | `201112L` |
47+
| **C11** (C1X) | ISO/IEC 9899:2011 | N1570([PDF](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf)) | `201112L` |
48+
| C99 TC3 | ISO/IEC 9899:1999/Cor.3:2007 | N1256([PDF](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf)) | `199901L` |
49+
| C99 TC2 | ISO/IEC 9899:1999/Cor.2:2004 | ? | `199901L` |
50+
| C99 TC1 | ISO/IEC 9899:1999/Cor.1:2001 | ? | `199901L` |
51+
| **C99** (C9X) | ISO/IEC 9899:1999 | N843([HTML](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n843.htm)) | `199901L` |
52+
| C95 | ISO/IEC 9899/Amd.1:1995 | ? | `199409L` |
53+
| **C90** | ISO/IEC 9899:1990 | ? | -- |
54+
| **C89** | ANSI X3.159-1989 | ? | -- |
55+
3756
## <a href="#iso-cpp-committee" id="iso-cpp-committee">用語: 国際標準規格を定める組織</a>
3857

3958
- **C++標準化委員会** (C++ Standards Committee): C++ の国際標準規格を策定する団体。

0 commit comments

Comments
 (0)