Re: [C++-sig] method chaining in noncopyable derived class

2009-04-08 Thread Renato Araujo
Hi Brian, in this case I think the correct solution is use "return_self<>()" verify documentation in: http://www.boost.org/doc/libs/1_38_0/libs/python/doc/v2/return_arg.html#return_self-spec BR On Wed, Apr 8, 2009 at 1:06 PM, Buras, Brian wrote: > I'm trying to wrap an API that uses method chai

[C++-sig] method chaining in noncopyable derived class

2009-04-08 Thread Buras, Brian
I'm trying to wrap an API that uses method chaining (methods that return reference to same object) and restricts assignment/copy. Is there a reason I can't use return_internal_reference? # want to be able to do this in Python d = myexample.Derived("name") d.setSomething(500).execute() But I ge