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_value_is_shared_ptr_hpp_
0008 #define boost_python_detail_value_is_shared_ptr_hpp_
0009 
0010 #include <boost/python/detail/value_is_xxx.hpp>
0011 #include <boost/python/detail/is_shared_ptr.hpp>
0012 
0013 namespace boost { namespace python { namespace detail { 
0014 
0015 template <class X_>
0016 struct value_is_shared_ptr
0017 {
0018   static bool const value = is_shared_ptr<typename remove_cv<
0019                         typename remove_reference<X_>
0020                           ::type>
0021                         ::type>
0022     ::value;
0023   typedef mpl::bool_<value> type;
0024 };
0025 
0026 }}} // namespace boost::python::detail
0027 
0028 #endif // VALUE_IS_SHARED_PTR_DWA2003224_HPP