[#BloombergLP-balcl-TypeInfoUtil-satisfiesConstraint-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/TypeInfoUtil.adoc[TypeInfoUtil]::satisfiesConstraint :relfileprefix: ../../../ :mrdocs: Same as the preceding overload, but write a descriptive error message to the specified `stream` when validation fails. == Synopsis Declared in `<balcl_typeinfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool satisfiesConstraint( xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& element, xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& typeInfo, std::ostream& stream); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#