BloombergLP::bslma::SharedPtrRep::incrementRefs

Atomically increment the number of shared references to the shared object referred to by this representation by the optionally specified incrementAmount. The behavior is undefined unless 0 < incrementAmount and 0 < numReferences().

Synopsis

Declared in <bslma_sharedptrrep.h>

void
incrementRefs(int incrementAmount = 1);

Description

DEPRECATED: Use acquireRef instead.