Chris@16: // Copyright David Abrahams 2003. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef IS_AUTO_PTR_DWA2003224_HPP Chris@16: # define IS_AUTO_PTR_DWA2003224_HPP Chris@16: Chris@16: # ifndef BOOST_NO_AUTO_PTR Chris@16: # include Chris@16: # include Chris@16: # endif Chris@16: Chris@16: namespace boost { namespace python { namespace detail { Chris@16: Chris@16: # if !defined(BOOST_NO_AUTO_PTR) Chris@16: Chris@16: BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1) Chris@16: Chris@16: # else Chris@16: Chris@16: template Chris@16: struct is_auto_ptr : mpl::false_ Chris@16: { Chris@16: }; Chris@16: Chris@16: # endif Chris@16: Chris@16: }}} // namespace boost::python::detail Chris@16: Chris@16: #endif // IS_AUTO_PTR_DWA2003224_HPP