File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace std::contracts {
2828| ---- | ---- | ---- |
2929| [`comment`](contracts/contract_violation/comment.md) | 契約違反の詳細を記録したchar列を返す | C++26 |
3030| [`detection_mode`](contracts/contract_violation/detection_mode.md) | 契約違反が特定された方法を返す | C++26 |
31- | [`evaluation_exception`](contracts/contract_violation/evaluation_exception.md.nolink ) | 契約が例外を飛ばしたことによって終了した場合の例外へのポインタ | C++26 |
31+ | [`evaluation_exception`](contracts/contract_violation/evaluation_exception.md) | 契約が例外を飛ばしたことによって終了した場合の例外へのポインタ | C++26 |
3232| [`is_terminating`](contracts/contract_violation/is_terminating.md.nolink) | 契約違反によってプログラムがターミネートされるかを返す | C++26|
3333| [`kind`](contracts/contract_violation/kind.md.nolink) | 違反した契約の種類 | C++26|
3434| [`location`](contracts/contract_violation/location.md.nolink) | 契約違反が発生したソースコードの位置 | C++26|
Original file line number Diff line number Diff line change 1+ # evaluation_exception
2+ * contracts[ meta header]
3+ * std::contracts[ meta namespace]
4+ * function[ meta id-type]
5+ * cpp26[ meta cpp]
6+ * contract_violation[ meta class]
7+
8+ ``` cpp
9+ exception_ptr evaluation_exception () const noexcept ;
10+ ```
11+
12+ ## 概要
13+ 契約の判定時に例外が投げられた場合、その例外へのポインタを返す。
14+
15+ 例外が飛ばなければ、空の` std::exception_ptr ` を返す。
16+
17+ ## 戻り値
18+ 契約の判定時に例外が投げられた場合、その例外へのポインタを返す。
19+
20+ 例外が飛ばなければ、空の` std::exception_ptr ` を返す。
21+
22+ ## 例外
23+ 投げない
24+
25+ ## バージョン
26+ ### 言語
27+ - C++26
28+
29+ ### 処理系
30+ - [ Clang] ( /implementation.md#clang ) : ??
31+ - [ GCC] ( /implementation.md#gcc ) : ??
32+ - [ Visual C++] ( /implementation.md#visual_cpp ) : ??
33+
34+ ## 参照
35+ - [ Contracts for C++] ( https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf )
You can’t perform that action at this time.
0 commit comments