Skip to content

Commit f82d563

Browse files
committed
new: Created page assertion_kind
1 parent 77d4a16 commit f82d563

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# assertion_kind
2+
* contracts[meta header]
3+
* std::contracts[meta namespace]
4+
* enum[meta id-type]
5+
* cpp26[meta cpp]
6+
7+
```cpp
8+
namespace std::contracts {
9+
enum class assertion_kind : unspecified {
10+
pre = 1,
11+
post = 2,
12+
assertion = 3
13+
}
14+
}
15+
```
16+
17+
## 概要
18+
違反した可能性のある契約の種類を表す列挙型。
19+
20+
これの他に、処理系依存のものを定めてもよい。
21+
22+
## バージョン
23+
### 言語
24+
- C++26
25+
26+
### 処理系
27+
- [Clang](/implementation.md#clang): 未実装
28+
- [GCC](/implementation.md#gcc): 未実装
29+
- [ICC](/implementation.md#icc): ?
30+
- [Visual C++](/implementation.md#visual_cpp): 未実装
31+
32+
## 関連項目
33+
- [契約に基づくプログラミング](/lang/future/contract-based_programming.md)
34+
- [契約プログラミング](/lang/cpp26/contracts.md)
35+
36+
## 参照
37+
- [P0542R5 Support for contract based programming in C++](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0542r5.html)

0 commit comments

Comments
 (0)