Skip to content

Commit 398fa68

Browse files
committed
reference/contracts/contract_violation.md: Initialized page
1 parent 0595a39 commit 398fa68

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# contract_violation
2+
* contracts[meta header]
3+
* std::contracts[meta namespace]
4+
* class[meta id-type]
5+
6+
```cpp
7+
namespace std::contracts {
8+
class contract_violation {
9+
public:
10+
const char* comment() const noexcept;
11+
contracts::detection_mode detection_mode() const noexcept;
12+
exception_ptr evaluation_exception() const noexcept;
13+
bool is_terminating() const noexcept;
14+
assertion_kind kind() const noexcept;
15+
source_location location() const noexcept;
16+
evaluation_semantic sematic() const noexcept;
17+
}
18+
}
19+
```

0 commit comments

Comments
 (0)