BloombergLP::bslma::ManagedPtr_Members::swap

Efficiently exchange the state of this object with the state of the specified other object. This method provides the no-throw exception-safety guarantee. Note that if either object is in an unset state, then the only guarantee about the unset state that may be exchanged is that the pointer value shall be null.

Synopsis

Declared in <bslma_managedptr_members.h>

void
swap(ManagedPtr_Members& other);