Outcome of a single validation check.
More...
#include <validation_assertions.hpp>
Outcome of a single validation check.
Convertible to bool so it drops straight into REQUIRE(...) / if (!result); the message describes the first failure for diagnostics.
◆ fail()
| CheckResult pulp::format::validation::CheckResult::fail |
( |
std::string | why | ) |
|
|
inlinestatic |
◆ operator bool()
| pulp::format::validation::CheckResult::operator bool |
( |
| ) |
const |
|
inlineexplicit |
◆ pass()
| CheckResult pulp::format::validation::CheckResult::pass |
( |
| ) |
|
|
inlinestatic |
◆ message
| std::string pulp::format::validation::CheckResult::message |
◆ ok
| bool pulp::format::validation::CheckResult::ok = true |
The documentation for this struct was generated from the following file: