2
2
<feed xmlns="http://www.w3.org/2005/Atom">
3
3
<title>cpprefjp - C++日本語リファレンス</title>
4
4
<link href="https://cpprefjp.github.io" />
5
- <updated>2024-06-14T14:39:07.832990 </updated>
6
- <id>4557faeb-49f9-4ff5-a5b9-8bc15a409743 </id>
5
+ <updated>2024-06-15T08:41:40.743641 </updated>
6
+ <id>dbcc51c6-0943-4bfb-80c5-991563d0d4dd </id>
7
7
8
8
9
+ <entry>
10
+ <title>契約に基づくプログラミング -- Update contract-based_programming.md</title>
11
+ <link href="https://cpprefjp.github.io/lang/future/contract-based_programming.html"/>
12
+ <id>9e5c6479908f5a1d97935540bea95d64cd23f03a:lang/future/contract-based_programming.md</id>
13
+ <updated>2024-06-15T17:38:41+09:00</updated>
14
+
15
+ <summary type="html"><pre><code>diff --git a/lang/future/contract-based_programming.md b/lang/future/contract-based_programming.md
16
+ index 6be82eb06..c57629ed6 100644
17
+ --- a/lang/future/contract-based_programming.md
18
+ +++ b/lang/future/contract-based_programming.md
19
+ @@ -4,7 +4,9 @@
20
+ ## 概要
21
+ 将来のC++では、いわゆる[契約プログラミング](https://ja.wikipedia.org/wiki/%E5%A5%91%E7%B4%84%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0)が検討されている。
22
+
23
+ -以下の内容はC++20で予定されていた仕様に基づいており、今後変わる可能性が高い。
24
+ +この機能は一度はC++20のドラフトに取り込まれたが、実装が進む中で問題が見つかり最終的に取り除かれた。現在ではC++26以降を目標に議論されている。
25
+ +
26
+ +以下の内容はC++20で予定されていた仕様に基づいており、最新の案とは異なる。
27
+
28
+ ## 例
29
+ ```cpp example
30
+ </code></pre></summary>
31
+
32
+ <author>
33
+ <name>Tetsuro Matsumura</name>
34
+
35
+ </author>
36
+ </entry>
37
+
9
38
<entry>
10
39
<title>add -- linalg add : 表示崩れを修正</title>
11
40
<link href="https://cpprefjp.github.io/reference/linalg/add.html"/>
@@ -12357,31 +12386,4 @@ index 000000000..3b34fa1dd
12357
12386
</author>
12358
12387
</entry>
12359
12388
12360
- <entry>
12361
- <title>関数のdefault/delete宣言 -- Merge pull request #1289 from yknishidate/fixtypo</title>
12362
- <link href="https://cpprefjp.github.io/lang/cpp11/defaulted_and_deleted_functions.html"/>
12363
- <id>24bdd5df3ba4cfbe33688b71b622c2ccbf6f0558:lang/cpp11/defaulted_and_deleted_functions.md</id>
12364
- <updated>2024-06-12T23:45:01+09:00</updated>
12365
-
12366
- <summary type="html"><pre><code>diff --git a/lang/cpp11/defaulted_and_deleted_functions.md b/lang/cpp11/defaulted_and_deleted_functions.md
12367
- index 733bc3397..23f08f71d 100644
12368
- --- a/lang/cpp11/defaulted_and_deleted_functions.md
12369
- +++ b/lang/cpp11/defaulted_and_deleted_functions.md
12370
- @@ -104,7 +104,7 @@ int main()
12371
- };
12372
-
12373
- // コンパイルエラー!= deleteはここではなく、最初の宣言に対して指定しなければならない
12374
- - sometype::somtype() = delete;
12375
- + sometype::sometype() = delete;
12376
- ```
12377
-
12378
- - 削除定義された関数は、暗黙的にインラインとなる。もしその関数が外部リンケージを持ち、ひとつの翻訳単位で削除定義された場合、全ての翻訳単位で削除定義される。削除定義された関数は、
12379
- </code></pre></summary>
12380
-
12381
- <author>
12382
- <name>Akira Takahashi</name>
12383
-
12384
- </author>
12385
- </entry>
12386
-
12387
12389
</feed>
0 commit comments