DIP74 updated with new protocol for function calls

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 1 04:41:48 PST 2015


On 3/1/15 1:41 AM, Paulo Pinto wrote:
> On Saturday, 28 February 2015 at 21:12:54 UTC, Andrei Alexandrescu wrote:
>> Defines a significantly better function call protocol:
>>
>> http://wiki.dlang.org/DIP74
>>
>> Andrei
>
> What about having an UDA or a mixin for marking the types as RCO?

We prefer opAddRef/opRelease to define an RCO, same as 
empty/front/popFront define a range. -- Andrei



More information about the Digitalmars-d mailing list