]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/smart_ptr/test/wp_guides_test.cpp
1 // Copyright 2020 Peter Dimov
2 // Distributed under the Boost Software License, Version 1.0.
3 // https://www.boost.org/LICENSE_1_0.txt
5 #if defined(__cpp_deduction_guides)
7 #include <boost/shared_ptr.hpp>
8 #include <boost/weak_ptr.hpp>
12 boost::shared_ptr
<int> p1( new int );
13 boost::weak_ptr
p2( p1
);
18 #include <boost/config/pragma_message.hpp>
20 BOOST_PRAGMA_MESSAGE( "Skipping test because __cpp_deduction_guides is not defined" )