19
General utilities library
[utilities]
19.11
Smart pointers
[smartptr]
19.11.4
Class template
weak_ptr
[util.smartptr.weak]
19.11.4.6
Specialized algorithms
[util.smartptr.weak.spec]
🔗
template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
1
#
Effects:
Equivalent to
a.swap(b)
.