|
Crunch
A Message Definition Language for Getting Things Right
|
Validates that a string-like or container value has a specific length. More...
#include <crunch_validators.hpp>
Static Public Member Functions | |
|
template<typename T > requires requires(const T& t) { std::size(t); } | |
| static constexpr auto | Check (const T &value, FieldId field_id) noexcept -> std::optional< Error > |
Validates that a string-like or container value has a specific length.