Files
cppdraft_translate/cppdraft/util/smartptr/shared/spec.md
2025-10-25 03:02:53 +03:00

702 B

[util.smartptr.shared.spec]

20 Memory management library [mem]

20.3 Smart pointers [smartptr]

20.3.2 Shared-ownership pointers [util.sharedptr]

20.3.2.2 Class template shared_ptr [util.smartptr.shared]

20.3.2.2.9 Specialized algorithms [util.smartptr.shared.spec]

🔗

template<class T> constexpr void swap(shared_ptr<T>& a, shared_ptr<T>& b) noexcept;

1

#

Effects: Equivalent to a.swap(b).