Merge [62248] to release. Fixes #3856.

[SVN r63827]
This commit is contained in:
Peter Dimov
2010-07-10 21:17:40 +00:00
parent 6ca6d3ce6f
commit 0d77fd0678
3 changed files with 24 additions and 4 deletions

View File

@ -0,0 +1,19 @@
//
// make_shared_fp_test.cpp
//
// Copyright 2010 Georg Fritzsche
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
int main()
{
typedef boost::shared_ptr<int>(*FP)();
FP fp = boost::make_shared<int>;
}