On 05/05/07, Roman Yakovenko <email@example.com> wrote:
On 5/5/07, Gustavo Carneiro <firstname.lastname@example.org> wrote:
> Is it possible to wrap a C++ class that has pure virtual functions? I am
> getting a compilation error below; what should I do?
> PS: those pure virtual methods are being exclud()ed by me.
If you exclude them, than I guess you don't want Python user to create
instances of the class and derive from it. If I am right, than you
should use no_init:
The only way to tweak Py++ to generate no_init for the class is to
exclude all class constructors.