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 
main()15 int main()
16 {
17     typedef boost::shared_ptr<int>(*FP)();
18     FP fp = boost::make_shared<int>;
19 }
20