File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22* contracts[ meta header]
33* cpp26[ meta cpp]
44
5- ` <contracts> ` ヘッダでは、[ 契約違反] ( /lang/cpp26/contracts.md ) のハンドリングのための機能を定義する。
5+ ## 概要
6+ ` <contracts> ` ヘッダでは、C++における契約プログラミングのサポートを提供する。
7+
8+ 契約プログラミングは、関数やクラスの前提条件、事後条件、およびアサーションを明示的に指定するプログラミング手法である。これらの条件が満たされない場合、プログラムは契約違反を報告する。
9+
610
711| 名前 | 説明 | 対応バージョン |
812| ------| ------| ----------------|
9- | [ ` contract_violation ` ] ( contracts/contract_violation.md ) | 契約違反に関する情報 (class) | C++26 |
13+ | [ ` assertion_kind ` ] ( contracts/assertion_kind.md.nolink ) | アサーションの種類 (enum) | C++26 |
14+ | [ ` evaluation_semantic ` ] ( contracts/evaluation_semantic.md.nolink ) | アサーションの評価の種類(enum) | C++26 |
15+ | [ ` detection_mode ` ] ( contracts/detection_mode.md.nolink ) | 契約違反の検出モード(enum) | C++26 |
16+ | [ ` contract_violation ` ] ( contracts/contract_violation.md.nolink ) | 契約違反に関する情報 (class) | C++26 |
1017
1118## バージョン
1219### 言語
You can’t perform that action at this time.
0 commit comments