[C++-sig] Pyste could do with return_self()

David Abrahams dave at boost-consulting.com
Sat Oct 4 23:37:52 CEST 2003


Nicodemus <nicodemus at globalite.com.br> writes:

> Niall Douglas wrote:
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>> ... which maps to return_self<>(). I use a lot of methods which
>> return *this so you can chain the calls together.
>>  
>>
>
> Sure, it was an oversight by my part. I just added this, and I noticed
> that <boost/python/return_arg.hpp> is not included in
> <boost/python.hpp>. Dave, is that intentional?

No, I keep forgetting to add things.  Feel free to check in a fix.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list