// Copyright David Abrahams 2002. // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef TO_PYTHON_CONVERTER_DWA200221_HPP # define TO_PYTHON_CONVERTER_DWA200221_HPP # include # include # include # include namespace boost { namespace python { template struct to_python_converter { to_python_converter(); }; // // implementation // template to_python_converter::to_python_converter() { typedef converter::as_to_python_function< T, Conversion > normalized; converter::registry::insert( &normalized::convert , type_id()); } }} // namespace boost::python #endif // TO_PYTHON_CONVERTER_DWA200221_HPP