Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/boost/python/has_back_reference.hpp @ 14

Last change on this file since 14 was 12, checked in by landauf, 17 years ago

added boost

File size: 654 bytes
Line 
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
11namespace 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*
15template <class T>
16struct has_back_reference
17  : mpl::false_
18{
19};
20
21
22}} // namespace boost::python
23
24#endif // HAS_BACK_REFERENCE_DWA2002323_HPP
Note: See TracBrowser for help on using the repository browser.