[C++-sig] wrapper & HeldType

David Abrahams dave at boost-consulting.com
Thu Oct 20 18:05:48 CEST 2005


Roman Yakovenko <roman.yakovenko at gmail.com> writes:

> On 10/19/05, David Abrahams <dave at boost-consulting.com> wrote:
>> The enclosed patch to boost/python/object/class_metadata.hpp seems to
>> do the trick.  However, you'll have to stop using
>> register_ptr_to_python<std::auto_ptr<data> > ;-)
>
> Thanks. This is really makes user code more natural.
>
> Although may be I did something wrong but the patch you attached does not
> change anything to me. The code I post still could not be compiled.
> May be you forgot to attach other patches? 

Nope.  The changes, and your test, are checked into CVS.  Your test is
passing for me.

> I can send compilation errors to you.

That might be interesting.  If you're using vc6 or vc7, I had to make
some more changes (since the patch) to support those compilers, so you
should get the latest from CVS.

> Also I think I can submit new tester to boost.python library - tester
> that will reflect
> those changes.

It's already in there.
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list