- contracts[meta header]
- std::contracts[meta namespace]
- function[meta id-type]
- cpp26[meta cpp]
- contract_violation[meta class]
const char* comment() const noexcept;契約違反の詳細を記録したchar列を返す。
このchar列はnull-terminated multi-byte string、すなわち'\0'で終端されたマルチバイト文字列であることが保証されている。
契約違反の詳細を記録したchar列
投げない
- C++26
- Clang: ??
- GCC: ??
- Visual C++: ??