[#BloombergLP-bdlc-CompactedArray_CountedValue-operator_assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this object the value and reference count of `rhs`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;compactedarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;]&
operator&equals;(xref:BloombergLP/bdlc/CompactedArray_CountedValue.adoc[CompactedArray&lowbar;CountedValue&lt;TYPE&gt;] const& rhs);
----

== Description

Assign to this object the underlying object value and reference count of the specified `rhs` object, and return a reference providing modifiable access to this object&period;

== Return Value

modifiable reference to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| object to assign from
|===


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