Skip to content

Commit ccfff8a

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 96f6fcd commit ccfff8a

File tree

3 files changed

+37
-34
lines changed

3 files changed

+37
-34
lines changed

lang/future/contract-based_programming.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2022-09-29T07:54:25">
192-
2022年09月29日 07時54分25秒
191+
<span itemprop="datePublished" content="2024-06-15T08:38:41">
192+
2024年06月15日 08時38分41秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
196-
<span itemprop="name">Akira Takahashi</span>
196+
<span itemprop="name">Tetsuro Matsumura</span>
197197
</span>
198198
が更新
199199
</small></p>
@@ -215,7 +215,8 @@
215215
<h1 itemprop="name"><span class="token">契約に基づくプログラミング</span><span class="cpp future" title="将来のC++として検討中">(将来のC++機能)</span></h1>
216216
<div itemprop="articleBody"><h2>概要</h2>
217217
<p>将来のC++では、いわゆる<a href="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" target="_blank">契約プログラミング</a>が検討されている。</p>
218-
<p>以下の内容はC++20で予定されていた仕様に基づいており、今後変わる可能性が高い。</p>
218+
<p>この機能は一度はC++20のドラフトに取り込まれたが、実装が進む中で問題が見つかり最終的に取り除かれた。現在ではC++26以降を目標に議論されている。</p>
219+
<p>以下の内容はC++20で予定されていた仕様に基づいており、最新の案とは異なる。</p>
219220
<h2></h2>
220221
<p><div class="yata" id="a7b092c360b2d82b27d3a0eeeb18df0ebd1565e2"><div class="codehilite"><pre><span></span><code><span class="cp">#include</span> <span class="cpf"><a href="../../reference/iostream.html">&lt;iostream&gt;</a></span><span class="cp"></span>
221222
<span class="cp">#include</span> <span class="cpf"><a href="../../reference/cmath.html">&lt;cmath&gt;</a></span><span class="cp"></span>

rss.xml

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,39 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<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>
77

88

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">&lt;pre&gt;&lt;code&gt;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+
&lt;/code&gt;&lt;/pre&gt;</summary>
31+
32+
<author>
33+
<name>Tetsuro Matsumura</name>
34+
<email>[email protected]</email>
35+
</author>
36+
</entry>
37+
938
<entry>
1039
<title>add -- linalg add : 表示崩れを修正</title>
1140
<link href="https://cpprefjp.github.io/reference/linalg/add.html"/>
@@ -12357,31 +12386,4 @@ index 000000000..3b34fa1dd
1235712386
</author>
1235812387
</entry>
1235912388

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">&lt;pre&gt;&lt;code&gt;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-
&lt;/code&gt;&lt;/pre&gt;</summary>
12380-
12381-
<author>
12382-
<name>Akira Takahashi</name>
12383-
<email>[email protected]</email>
12384-
</author>
12385-
</entry>
12386-
1238712389
</feed>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35437,7 +35437,7 @@
3543735437

3543835438
<url>
3543935439
<loc>https://cpprefjp.github.io/lang/future/contract-based_programming.html</loc>
35440-
<lastmod>2024-06-12T17:35:03+09:00</lastmod>
35440+
<lastmod>2024-06-15T17:38:41+09:00</lastmod>
3544135441
<changefreq>daily</changefreq>
3544235442
<priority>0.7</priority>
3544335443
</url>

0 commit comments

Comments
 (0)