Merged revision(s) 81149, 81159, 81171, 81174, 81219-81220, 81222-81224, 81226, 81229-81239, 81242, 81253, 81257-81262, 81265-81268, 81271-81272, 81275-81277, 81299-81300 from trunk:
2012-11-14 13:52:11 +00:00
|
|
|
//
|
|
|
|
|
// Copyright (c) 2012 Peter Dimov
|
|
|
|
|
//
|
|
|
|
|
// 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>
|
|
|
|
|
|
|
|
|
|
struct X
|
|
|
|
|
{
|
|
|
|
|
};
|
|
|
|
|
|
2014-11-12 19:04:29 +02:00
|
|
|
template<class T> void f( T & /*t*/ )
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
Merged revision(s) 81149, 81159, 81171, 81174, 81219-81220, 81222-81224, 81226, 81229-81239, 81242, 81253, 81257-81262, 81265-81268, 81271-81272, 81275-81277, 81299-81300 from trunk:
2012-11-14 13:52:11 +00:00
|
|
|
int main()
|
|
|
|
|
{
|
|
|
|
|
boost::shared_ptr<X> px( new X );
|
2014-11-12 19:04:29 +02:00
|
|
|
f( px[ 0 ] );
|
Merged revision(s) 81149, 81159, 81171, 81174, 81219-81220, 81222-81224, 81226, 81229-81239, 81242, 81253, 81257-81262, 81265-81268, 81271-81272, 81275-81277, 81299-81300 from trunk:
2012-11-14 13:52:11 +00:00
|
|
|
}
|