boost::movelib::swap
// In header: <boost/move/unique_ptr.hpp> template<typename T, typename D> void swap(unique_ptr< T, D > & x, unique_ptr< T, D > & y);
Effects: Calls x.swap(y).
x.swap(y)
Remarks: This function shall not participate in overload resolution unless is_swappable<D>::value is true. If the compiler does not support deleted functions or the type traits can not detect them, the program is ill-formed instead.
is_swappable<D>::value