http://wiki.dlang.org/DIP25

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 29 07:51:36 PST 2014


On 12/29/14 6:07 AM, Steven Schveighoffer wrote:
> On 12/27/14 10:09 PM, Andrei Alexandrescu wrote:
>> Walter and I have been working on revamping DIP25, which focuses on
>> tightening the screws of ref. This should then simplify DIP69
>> significantly.
>>
>> Please comment: http://wiki.dlang.org/DIP25
>
> ref int hun() inout { return b; }
>
> This doesn't make sense. inout cannot cast to mutable.

Yah, the DIP should clarify that new behavior. Thanks. -- Andrei


More information about the Digitalmars-d mailing list