|
inlinestaticconstexprinherited |
Compile-time validation of value.
When a value is bound to a Keyword to form an Option, one can validate this binding by checking arbitrary properties on the value type. This is done by the accept() member.
If Keyword defines a check static template member function, it will be called to provide the return value of accept(). Otherwise, true is returned, thus automatically validating any value type.
| T | Type to validate |
true if T is accepted by current keyword, false otherwise.