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 // Copyright Stefan Seefeld 2016.
0003 // Distributed under the Boost Software License, Version 1.0. (See
0004 // accompanying file LICENSE_1_0.txt or copy at
0005 // http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef boost_python_detail_is_shared_ptr_hpp_
0008 #define boost_python_detail_is_shared_ptr_hpp_
0009 
0010 #include <boost/python/detail/is_xxx.hpp>
0011 #include <boost/shared_ptr.hpp>
0012 
0013 namespace boost { namespace python { namespace detail { 
0014 
0015 BOOST_PYTHON_IS_XXX_DEF(shared_ptr, shared_ptr, 1)
0016 #if !defined(BOOST_NO_CXX11_SMART_PTR)
0017 template <typename T>
0018 struct is_shared_ptr<std::shared_ptr<T> > : std::true_type {};
0019 #endif
0020 
0021 }}} // namespace boost::python::detail
0022 
0023 #endif