Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:38

0001 // Copyright David Abrahams 2003.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 #ifndef IS_AUTO_PTR_DWA2003224_HPP
0006 # define IS_AUTO_PTR_DWA2003224_HPP
0007 
0008 # ifndef BOOST_NO_AUTO_PTR
0009 #  include <boost/python/detail/is_xxx.hpp>
0010 #  include <memory>
0011 # endif
0012 
0013 namespace boost { namespace python { namespace detail { 
0014 
0015 # if !defined(BOOST_NO_AUTO_PTR)
0016 
0017 BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
0018 
0019 # else
0020 
0021 template <class T>
0022 struct is_auto_ptr : mpl::false_
0023 {
0024 };
0025 
0026 # endif
0027     
0028 }}} // namespace boost::python::detail
0029 
0030 #endif // IS_AUTO_PTR_DWA2003224_HPP