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)
6 
7 #ifndef boost_python_detail_value_is_shared_ptr_hpp_
8 #define boost_python_detail_value_is_shared_ptr_hpp_
9 
10 #include <boost/python/detail/value_is_xxx.hpp>
11 #include <boost/python/detail/is_shared_ptr.hpp>
12 
13 namespace boost { namespace python { namespace detail {
14 
15 template <class X_>
16 struct value_is_shared_ptr
17 {
18   static bool const value = is_shared_ptr<typename remove_cv<
19 					    typename remove_reference<X_>
20 					      ::type>
21 					    ::type>
22     ::value;
23   typedef mpl::bool_<value> type;
24 };
25 
26 }}} // namespace boost::python::detail
27 
28 #endif // VALUE_IS_SHARED_PTR_DWA2003224_HPP
29