]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/smart_ptr/weak_ptr.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / smart_ptr / weak_ptr.hpp
index 5230f35e68ded2d5a196f909c33c9f16f4c062c1..07ba189f4ca8147ff561edfa877b69fb753aa8b5 100644 (file)
@@ -264,6 +264,12 @@ template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b) BOOST_SP_NOEXCEPT
     a.swap(b);
 }
 
+#if defined(__cpp_deduction_guides)
+
+template<class T> weak_ptr( shared_ptr<T> ) -> weak_ptr<T>;
+
+#endif
+
 } // namespace boost
 
 #endif  // #ifndef BOOST_SMART_PTR_WEAK_PTR_HPP_INCLUDED