Exchange the value and ownership of this managed pointer with other.
Synopsis
Declared in <bslma_managedptr.h>
void
swap(ManagedPtr& other);
Parameters
Name |
Description |
other |
managed pointer to exchange with this object |
Created with MrDocs