[C++-sig] Can't convert from class_ to scope in latest CVS!

Kerim Borchaev warkid at hotbox.ru
Mon Dec 2 10:20:21 CET 2002


Hello ,

i've checked out the CVS recently and found this strange bug(?) with
scope:

cannot convert from 'boost::python::class_<T,X1,X2,X3>::self' to 'boost::python::scope'

here's the code:

#include <boost/python/module.hpp>
#include <boost/python/class.hpp>
#include <boost/python/scope.hpp>
using namespace boost::python;

struct C{
};

BOOST_PYTHON_MODULE(hello)
{
    scope s= class_<C>("C");
}

Best regards,
 Kerim                          mailto:warkid at hotbox.ru






More information about the Cplusplus-sig mailing list