[#BloombergLP-balcl-TypeInfoUtil-satisfiesConstraint-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/TypeInfoUtil.adoc[TypeInfoUtil]::satisfiesConstraint
:relfileprefix: ../../../
:mrdocs:

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&period;

== Synopsis

Declared in `&lt;balcl&lowbar;typeinfo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
satisfiesConstraint(
    void const* variable,
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& typeInfo,
    std::ostream& stream);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
