]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/include/boost/python/detail/is_shared_ptr.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / python / include / boost / python / detail / is_shared_ptr.hpp
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_is_shared_ptr_hpp_
8 #define boost_python_detail_is_shared_ptr_hpp_
9
10 #include <boost/python/detail/is_xxx.hpp>
11 #include <boost/shared_ptr.hpp>
12
13 namespace boost { namespace python { namespace detail {
14
15 BOOST_PYTHON_IS_XXX_DEF(shared_ptr, shared_ptr, 1)
16 #if __cplusplus >= 201103L
17 template <typename T>
18 struct is_shared_ptr<std::shared_ptr<T> > : std::true_type {};
19 #endif
20
21 }}} // namespace boost::python::detail
22
23 #endif