Re: [C++-sig] Inheriting static overloaded properties

2012-09-04 Thread Holger Brandsmeier
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

[C++-sig] Inheriting static overloaded properties

2012-09-04 Thread Charly Bicker
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