Return true if element satisfies the constraint of typeInfo.
Declared in <balcl_typeinfo.h>
static
bool
satisfiesConstraint(
OptionValue const& element,
TypeInfo const& typeInfo,
std::ostream& stream);
Same as the preceding overload, but write a descriptive error message to the specified stream when validation fails.
true if element satisfies the constraint (or there is none), and false otherwise
| Name | Description |
|---|---|
| element | option value to validate |
| typeInfo | type and constraint information |
| stream | diagnostic output stream |