[#BloombergLP-balcl-TypeInfo-setConstraint-0a8]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo]::setConstraint
:relfileprefix: ../../../
:mrdocs:

Put the specified `constraint` on the value of the described option&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setConstraint(xref:BloombergLP/balcl/Constraint/IntConstraint.adoc[Constraint::IntConstraint] const& constraint);
----


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