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

Assignment operators

== Synopses

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

Assign this object to refer to the same bit as the specified `x` and return a reference offering modifiable access to this object&period;


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

[.small]#xref:bsl/bitset/reference/operator_assign-01.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:bsl/bitset/reference/operator_assign-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

reference offering modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| reference whose bit value is assigned to this bit
|===


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