[#BloombergLP-bdlm-MetricsRegistryRegistrationHandle-operator_assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlm.adoc[bdlm]::xref:BloombergLP/bdlm/MetricsRegistryRegistrationHandle.adoc[MetricsRegistryRegistrationHandle]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this handle the registration managed by `original`&period;

== Synopsis

Declared in `&lt;bdlm&lowbar;metricsregistry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlm/MetricsRegistryRegistrationHandle.adoc[MetricsRegistryRegistrationHandle]&
operator&equals;(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;MetricsRegistryRegistrationHandle&gt;] original) noexcept;
----

== Description

Unregister the metric collection callback associated with this handle (if `isRegistered` is `true`)&period; Take an ownership on the metric collection callback registration associated with the specified `original` handle&period; Afterwards, `original` will no longer manage the registration, and `original&period;isRegistered()` will be `false`&period;

== Return Value

reference providing modifiable access to this handle

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| handle from which to take the registration
|===


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