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_value_is_shared_ptr_hpp_
8 #define boost_python_detail_value_is_shared_ptr_hpp_
10 #include <boost/python/detail/value_is_xxx.hpp>
11 #include <boost/python/detail/is_shared_ptr.hpp>
13 namespace boost { namespace python { namespace detail {
16 struct value_is_shared_ptr
18 static bool const value = is_shared_ptr<typename remove_cv<
19 typename remove_reference<X_>
23 typedef mpl::bool_<value> type;
26 }}} // namespace boost::python::detail
28 #endif // VALUE_IS_SHARED_PTR_DWA2003224_HPP