16 Jan
2006
16 Jan
'06
10:42 p.m.
Fredrik Wikström
Hi!
I have a polymorphic class in c++ like:
class Example { public: void do_something() = 0; void do_something_more {}
Illegal C++. Missing argument list. What did you really send to the compiler?
}
How can I fix this? I really need to define a constructor in python class that inherit from the c++ Example class.
Make sure you don't forget to call the test.Example.__init__(self). That creates the C++ ExampleWrap instance, without which you can't invoke any member functions. -- Dave Abrahams Boost Consulting www.boost-consulting.com