template<class T> void swap(shared_ptr<T>& a, shared_ptr<T>& b) noexcept;
Effects: Эквивалентно a.swap(b).