source: NonGTP/Boost/boost/python/detail/is_auto_ptr.hpp @ 857

Revision 857, 693 bytes checked in by igarcia, 19 years ago (diff)
Line 
1// Copyright David Abrahams 2003.
2// Distributed under the Boost Software License, Version 1.0. (See
3// accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5#ifndef IS_AUTO_PTR_DWA2003224_HPP
6# define IS_AUTO_PTR_DWA2003224_HPP
7
8# ifndef BOOST_NO_AUTO_PTR
9#  include <boost/python/detail/is_xxx.hpp>
10#  include <memory>
11# endif
12
13namespace boost { namespace python { namespace detail {
14
15# if !defined(BOOST_NO_AUTO_PTR)
16
17BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
18
19# else
20
21template <class T>
22struct is_auto_ptr : mpl::false_
23{
24};
25
26# endif
27   
28}}} // namespace boost::python::detail
29
30#endif // IS_AUTO_PTR_DWA2003224_HPP
Note: See TracBrowser for help on using the repository browser.