BloombergLP::bslma::SharedPtrRep::disposeRep

Dispose of this representation object. This method is automatically invoked by releaseRef and releaseWeakRef when the number of weak references and the number of shared references both reach zero and should not be explicitly invoked otherwise. The behavior is undefined unless disposeObject has already been called for this representation. Note that this virtual disposeRep method effectively serves as the representation object's destructor. Also note that derived classes must override this method to perform appropriate action such as deleting this representation, or returning it to an object pool.

Synopsis

Declared in <bslma_sharedptrrep.h>

virtual
void
disposeRep() = 0;