File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 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)
You can’t perform that action at this time.
0 commit comments