Skip to content

Commit a2f32bb

Browse files
committed
new page reference/contracts/contract_violation/detection_mode.md(#1419)
1 parent d909f26 commit a2f32bb

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# detection_mode
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+
contracts::detection_mode detection_mode() const noexcept;
10+
```
11+
12+
## 概要
13+
契約違反が特定された方法を返す。
14+
15+
## 戻り値
16+
契約違反が特定された方法を表す`contracts::detection_mode`
17+
18+
## 例外
19+
投げない
20+
21+
## バージョン
22+
### 言語
23+
- C++26
24+
25+
### 処理系
26+
- [Clang](/implementation.md#clang): ??
27+
- [GCC](/implementation.md#gcc): ??
28+
- [Visual C++](/implementation.md#visual_cpp): ??
29+
30+
## 参照
31+
- [Contracts for C++](https://open-std.org/jtc1/sc22/wg21/docs/papers/2025/p2900r14.pdf)

0 commit comments

Comments
 (0)