[C++-sig] Deriving classes

yakumoklesk at yahoo.es yakumoklesk at yahoo.es
Sat Sep 13 22:52:46 CEST 2003


It is possible to derive a C++ class from a python class? The dynamism 
of python respect the static methods of C++ for declaring classes 
makes me think it won't be possible.

Anyway, what I want is to derive from de top class object from python, 
to take advantage of the use of slots. Can I make it using boost.python 
or had I to derive from the C++ class in the python source code?

Thanks, David Lucena.





More information about the Cplusplus-sig mailing list