[C++-sig] Re: Boost.Python bug
David Abrahams
dave at boost-consulting.com
Sat Oct 4 13:57:47 CEST 2003
"Niall Douglas" <s_sourceforge at nedprod.com> writes:
> The following doesn't compile on MSVC7.1 with today's CVS:
>
> #include <boost/python.hpp>
>
> using namespace boost::python;
>
> class FXThread
> {
> public:
> bool setAutoDelete(bool doso) throw();
> };
>
> void Export_FXThread()
> {
> class_< FXThread >("FXThread")
> .def("setAutoDelete", &FXThread::setAutoDelete)
> ;
> }
>
> It complains "boost\boost\python\detail\invoke.hpp(76) : error C2064:
> term does not evaluate to a function taking 2 arguments"
That doesn't make it a Boost.Python bug. It works with every other
compiler I've tried.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the Cplusplus-sig
mailing list