Return true if the value at variable satisfies the constraint of typeInfo.
Declared in <balcl_typeinfo.h>
static
bool
satisfiesConstraint(
void const* variable,
TypeInfo const& typeInfo,
std::ostream& stream);
Return true if the value at the specified variable satisfies the constraint of the specified typeInfo object, writing errors to the specified stream if validation fails.
true if the value satisfies the constraint (or there is none), and false otherwise
| Name | Description |
|---|---|
| variable | address of the value to validate |
| typeInfo | type and constraint information |
| stream | diagnostic output stream |