![]() |
MySQL 9.6.0
Source Code Documentation
|
Class holding a checker function, used to check the validity of a parsed value. More...
#include <checker.h>
Public Types | |
| using | Checker_function_t = Checker_function_tp |
Public Member Functions | |
| Checker ()=delete | |
| Can't default-construct a lambda. More... | |
| Checker (const Checker_function_t &checker_function) | |
| Construct a Checker from the given checker function. More... | |
| void | check () const |
| Invoke the checker function. More... | |
Private Attributes | |
| Checker_function_t | m_checker_function |
| The checker function. More... | |
Class holding a checker function, used to check the validity of a parsed value.
This type only encapsulates an std::invocable object. By using a distinguished wrapper type rather than using the invocable type directly, we avoid making the definition of operator| for parse options (see parse_options.h) apply to all invocable types.
| using mysql::strconv::Checker< Checker_function_tp >::Checker_function_t = Checker_function_tp |
|
delete |
Can't default-construct a lambda.
|
inlineexplicit |
Construct a Checker from the given checker function.
|
inline |
Invoke the checker function.
|
private |
The checker function.