gtopt::ValidationResult struct

Result of semantic validation.

Contains separate lists of errors (fatal) and warnings (non-fatal). When errors is non-empty the caller should abort LP construction.

Public functions

auto ok() const -> constexpr bool noexcept

Public variables

std::vector<std::string> errors
std::vector<std::string> warnings