1 // (C) Copyright John Maddock 2001.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/config for most recent version.
8 // MACRO: BOOST_NO_AUTO_PTR
9 // TITLE: std::auto_ptr
10 // DESCRIPTION: If the compiler / library supplies non-standard or broken
15 namespace boost_no_auto_ptr{
22 my_ptr(std::auto_ptr<T>& r)
26 my_ptr& operator=(std::auto_ptr<T>& r)
41 std::auto_ptr<int> ap1(new int);
43 std::auto_ptr<int> ap2(new int);