最終更新日時(UTC):
が更新

履歴 編集

function
<contracts>

std::contracts::contract_violation::comment(C++26)

const char* comment() const noexcept;

概要

契約違反の詳細を記録したchar列を返す。

このchar列はnull-terminated multi-byte string、すなわち'\0'で終端されたマルチバイト文字列であることが保証されている。

戻り値

契約違反の詳細を記録したchar列

例外

投げない

バージョン

言語

  • C++26

処理系

参照

- Contracts for C++