a field and its attached functional validation callable object, note that validation will occur after deserialization and before serialization
More...
#include <serdes_validator.h>
|
| template<typename FieldTypeT , typename FuncTypeT > |
| | validator (FieldTypeT &&field_arg, FuncTypeT &&validation_arg) |
| | Construct a new validator object using perfect forwarding. More...
|
| |
|
|
FieldType | field |
| |
|
FuncType | validation |
| |
template<typename FieldType, typename FuncType>
struct serdes::validator< FieldType, FuncType >
a field and its attached functional validation callable object, note that validation will occur after deserialization and before serialization
- Template Parameters
-
| FieldType | : the field type to validate |
| FuncType | : the callable object validation routine type |
◆ validator()
template<typename FieldType , typename FuncType >
template<typename FieldTypeT , typename FuncTypeT >
Construct a new validator object using perfect forwarding.
- Parameters
-
| field_arg | : the field to validate |
| validation_arg | : the callable object validation routine |
The documentation for this struct was generated from the following files: