]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/config/test/boost_has_tr1_shared_ptr.ipp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / config / test / boost_has_tr1_shared_ptr.ipp
1 // (C) Copyright John Maddock 2005.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 // See http://www.boost.org/libs/config for most recent version.
7
8 // MACRO: BOOST_HAS_TR1_SHARED_PTR
9 // TITLE: std::tr1::shared_ptr
10 // DESCRIPTION: The std lib has a tr1-conforming shrared_ptr.
11
12 #include <memory>
13
14 namespace boost_has_tr1_shared_ptr{
15
16 int test()
17 {
18 int i;
19 std::tr1::shared_ptr<int> r(new int());
20 (void)r;
21 return 0;
22 }
23
24 }