]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/smart_ptr/test/make_shared_fp_test.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / smart_ptr / test / make_shared_fp_test.cpp
1 //
2 // make_shared_fp_test.cpp
3 //
4 // Copyright 2010 Georg Fritzsche
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 // See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt
9 //
10
11
12 #include <boost/shared_ptr.hpp>
13 #include <boost/make_shared.hpp>
14
15 int main()
16 {
17 typedef boost::shared_ptr<int>(*FP)();
18 FP fp = boost::make_shared<int>;
19 }