[C++-sig] Wrapping a factory
dave at boost-consulting.com
Thu Jan 23 05:19:29 CET 2003
Ben Scott <bscott at iastate.edu> writes:
> Hi again. I'm playing around with the factory code I
> asked for help on before
> and have changed things around a bit (as my library has
> changed). You'll notice that the only difference from
> before is that the creator no longer requires an
> argument to the create() method.
> Unfortunately, I've gotten stuck again and am looking
> for somebody to point me in the right direction. I just
> can't seem to get my C++ Factory object to see the
> correct type of my python Creator object as you can see
> in the following output. It appears to only know about
> the Creator base type and be unable to call into the
> implementation's method.
You've uncovered a bug in Boost.Python. Thank you!
I've got a fix; I'm just testing it now to make sure it doesn't break
anything else and I'll let you know when it's checked in.
dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
More information about the Cplusplus-sig