[C++-sig] Wrapping a factory

Ben Scott bscott at iastate.edu
Sun Jan 26 01:55:31 CET 2003

David Abrahams wrote:
> David Abrahams <dave at boost-consulting.com> writes:
>>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.
> OK, done.  Thanks again for the report.
> -Dave

Thanks for the incredibly quick response and turnaround time! It appears 
to work well over here.


More information about the Cplusplus-sig mailing list