[C++-sig] Q: wrap an abstract class in v2

David Abrahams david.abrahams at rcn.com
Sat Feb 23 17:54:44 CET 2002


----- Original Message -----
From: "Min Xu" <minxu at sci.ccny.cuny.edu>
To: <c++-sig at python.org>
Sent: Saturday, February 23, 2002 10:31 AM
Subject: [C++-sig] Q: wrap an abstract class in v2


> I am wondering how can I wrap an abstract class in v2. the technique for
> v1 fails. Can anyone show me an example using boost.python v2? The
> abstract class has a undefined virtual function.

I haven't implemented virtual function callbacks for v2 yet. That's planned
for next week. Can you hang on for a few days?

Also, I'd be very interested to know if you ever got your object code size
to come down. I am checking in some changes later today (I hope) which
should improve things a bit, but the numbers you quoted earlier definitely
surprised me and I expect most of them are accounted for by build options.

-Dave






More information about the Cplusplus-sig mailing list