Chris@16: // Copyright David Abrahams 2002. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef IMPLICIT_DWA2002325_HPP Chris@16: # define IMPLICIT_DWA2002325_HPP Chris@16: Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: # include Chris@16: #ifndef BOOST_PYTHON_NO_PY_SIGNATURES Chris@16: # include Chris@16: #endif Chris@16: # include Chris@16: Chris@16: namespace boost { namespace python { Chris@16: Chris@16: template Chris@16: void implicitly_convertible(boost::type* = 0, boost::type* = 0) Chris@16: { Chris@16: typedef converter::implicit functions; Chris@16: Chris@16: converter::registry::push_back( Chris@16: &functions::convertible Chris@16: , &functions::construct Chris@16: , type_id() Chris@16: #ifndef BOOST_PYTHON_NO_PY_SIGNATURES Chris@16: , &converter::expected_from_python_type_direct::get_pytype Chris@16: #endif Chris@16: ); Chris@16: } Chris@16: Chris@16: }} // namespace boost::python Chris@16: Chris@16: #endif // IMPLICIT_DWA2002325_HPP