BloombergLP::bdlm::MetricsRegistryRegistrationHandle::operator=

Assign to this handle the registration managed by original.

Synopsis

Declared in <bdlm_metricsregistry.h>

MetricsRegistryRegistrationHandle&
operator=(bslmf::MovableRef<MetricsRegistryRegistrationHandle> original) noexcept;

Description

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

Return Value

reference providing modifiable access to this handle

Parameters

NameDescription
originalhandle from which to take the registration