1 // Copyright David Abrahams 2003.
2 // Copyright Stefan Seefeld 2016.
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef boost_python_detail_is_shared_ptr_hpp_
8 #define boost_python_detail_is_shared_ptr_hpp_
10 #include <boost/python/detail/is_xxx.hpp>
11 #include <boost/shared_ptr.hpp>
13 namespace boost { namespace python { namespace detail {
15 BOOST_PYTHON_IS_XXX_DEF(shared_ptr, shared_ptr, 1)
16 #if __cplusplus >= 201103L
18 struct is_shared_ptr<std::shared_ptr<T> > : std::true_type {};
21 }}} // namespace boost::python::detail