[#BloombergLP-balb-CustomString-checkRestrictions]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/CustomString.adoc[CustomString]::checkRestrictions
:relfileprefix: ../../../
:mrdocs:

Check if the specified `value` satisfies the restrictions of this class (i&period;e&period;, &quot;CustomString&quot;)&period; Return 0 if successful (i&period;e&period;, the restrictions are satisfied) and non&hyphen;zero otherwise&period;

== Synopsis

Declared in `&lt;balb&lowbar;testmessages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
checkRestrictions(xref:bsl/string.adoc[bsl::string] const& value);
----


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