Return true if the specified element satisfies the constraint of the specified typeInfo object (if any), and false otherwise. Optionally specify a stream; if stream is specified and validation fails, a descriptive error message indicating the reason for the failure is written to stream. If typeInfo holds no constraint, this method returns true. The behavior is undefined unless element.type() == typeInfo.type().

Synopsis

Declared in <balcl_typeinfo.h>

static
bool
satisfiesConstraint(
    OptionValue const& element,
    TypeInfo const& typeInfo);

Created with MrDocs