Maximum number of items constraint ( maxItems ).
More...
#include <constraints.hpp>
Maximum number of items constraint ( maxItems ).
- Author
- Vincent Lachenal
- Since
- 0.2
◆ check()
| bool anch::val::MaxItems::check |
( |
const V & | items, |
|
|
std::string & | message ) const |
Check value
- Template Parameters
-
- Parameters
-
| items | the value |
| message | the error message (set when value is invalid) |
- Returns
true when value is valid
◆ value
| std::size_t anch::val::MaxItems::value |
The documentation for this struct was generated from the following file: