Dear Karl,
the problem is fixed if you do the following:
bp::class_("Base", bp::no_init)
.def("do_stuff", bp::pure_virtual(&BaseWrapper::do_stuff))
.def("name", &BaseWrapper::name, &BaseWrapper::default_name)
.def("name", &Base::name)
;
Dear all,
first of all thanks to Holger for pointing me to a workaround with the
add_static_property problem!
Unfortunately, I already ran into the next problem, which seems very weird to
me:
I have again my old friends Base and Derived, with the obvious inheritance
(source file attached). No
Dear Karl,
your problem does not occur if you do the following,
bp::class_("Base")
.add_static_property("debug", &Base::debug, &Base::setDebug);
bp::class_ >("Derived")
.add_static_property("debug2", &Derived::debug, &Derived::setDebug);
Note that I called the property "d
Dear all,
I am working in the following scenario: I have a class "Derived" which inherits
from "Base" and wrappers for both. Both have their own static debug flag and
getters and setters for it (see code at the end of the mail). I try to use
".add_static_property" to make the debug flags visibl