• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 REGISTERED_POINTEE_DWA2002710_HPP
6 # define REGISTERED_POINTEE_DWA2002710_HPP
7 # include <boost/python/converter/registered.hpp>
8 # include <boost/python/converter/pointer_type_id.hpp>
9 # include <boost/python/converter/registry.hpp>
10 # include <boost/python/detail/type_traits.hpp>
11 
12 namespace boost { namespace python { namespace converter {
13 
14 struct registration;
15 
16 template <class T>
17 struct registered_pointee
18     : registered<
19         typename boost::python::detail::remove_pointer<
20            typename boost::python::detail::remove_cv<
21               typename boost::python::detail::remove_reference<T>::type
22            >::type
23         >::type
24     >
25 {
26 };
27 }}} // namespace boost::python::converter
28 
29 #endif // REGISTERED_POINTEE_DWA2002710_HPP
30