[#BloombergLP-bslmt-TestUtil_Guard-operator_assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/TestUtil_Guard.adoc[TestUtil&lowbar;Guard]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Set the boolean state of this object to the specified `rhs`&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;testutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
operator&equals;(bool rhs);
----


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