Update contrib.
1 // Copyright David Abrahams 2004. Distributed under the Boost
2 // Software License, Version 1.0. (See accompanying
3 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 #ifndef WRAPPER_DWA2004720_HPP
5 # define WRAPPER_DWA2004720_HPP
7 # include <boost/python/detail/wrapper_base.hpp>
8 # include <boost/python/override.hpp>
9 # include <boost/python/converter/registered.hpp>
10 # include <boost/python/detail/sfinae.hpp>
12 namespace boost { namespace python {
15 class wrapper : public detail::wrapper_base
18 // Do not touch this implementation detail!
19 typedef T _wrapper_wrapped_type_;
22 override get_override(char const* name) const
24 typedef detail::wrapper_base base;
25 converter::registration const& r
26 = converter::registered<T>::converters;
27 PyTypeObject* type = r.get_class_object();
29 return this->base::get_override(name, type);
33 }} // namespace boost::python
35 #endif // WRAPPER_DWA2004720_HPP