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)
6 #include <boost/python/converter/as_to_python_function.hpp>
8 struct hopefully_illegal
10 static PyObject
* convert(int&);
13 PyObject
* x
= boost::python::converter::as_to_python_function
<int, hopefully_illegal
>::convert(0);