Efficiently exchange the values of the specified a and b objects. This function provides the no‐throw exception‐safety guarantee.
Synopsis
Declared in <bslma_managedptr.h>
template<class TARGET_TYPE>
void
swap(
ManagedPtr<TARGET_TYPE>& a,
ManagedPtr<TARGET_TYPE>& b);
Created with MrDocs