|
Crunch
A Message Definition Language for Getting Things Right
|
Validates that an integral value is odd. More...
#include <crunch_validators.hpp>
Static Public Member Functions | |
|
template<typename T > requires std::integral<T> && (!std::is_same_v<T, bool>) | |
| static constexpr auto | Check (T value, FieldId field_id) noexcept -> std::optional< Error > |
Validates that an integral value is odd.