]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/python/include/boost/python/has_back_reference.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / python / include / boost / python / has_back_reference.hpp
1 // Copyright David Abrahams 2002.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef HAS_BACK_REFERENCE_DWA2002323_HPP
6 # define HAS_BACK_REFERENCE_DWA2002323_HPP
7
8 # include <boost/python/detail/prefix.hpp>
9 # include <boost/mpl/bool.hpp>
10
11 namespace boost { namespace python {
12
13 // traits class which users can specialize to indicate that a class
14 // contains a back-reference to its owning PyObject*
15 template <class T>
16 struct has_back_reference
17 : mpl::false_
18 {
19 };
20
21
22 }} // namespace boost::python
23
24 #endif // HAS_BACK_REFERENCE_DWA2002323_HPP