Create a handle by moving from the specified original handle.

Synopsis

Declared in <bdlm_metricsregistry.h>

MetricsRegistryRegistrationHandle(bslmf::MovableRef<MetricsRegistryRegistrationHandle> original) noexcept;

Description

Create a MetricsRegistryRegistrationHandle object that will manage the metric collection callback registration associated with the specified original handle. After creating this object, original will no longer manage the registration, and original.isRegistered() will be false. If original does not manage a registration when this object is created, then neither this object nor original will manage a registration.

Parameters

Name

Description

original

handle from which to take the registration

Created with MrDocs