[#bsl-bitset-reference-operator_assign-0f]
= xref:bsl.adoc[bsl]::xref:bsl/bitset.adoc[bitset]::xref:bsl/bitset/reference.adoc[reference]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to the bit referenced by this object the specified value `x` and return a reference offering modifiable access to this object&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;bitset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/bitset/reference.adoc[bitset&lt;N&gt;::reference]&
operator&equals;(bool x) noexcept;
----

== Return Value

reference offering modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| value to assign to the referenced bit
|===


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