2 // Copyright (c) 2012 Peter Dimov
4 // Distributed under the Boost Software License, Version 1.0.
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
9 #include <boost/weak_ptr.hpp>
21 boost::weak_ptr<Y[]> px;
22 boost::weak_ptr<X[]> px2; px2 = px;