References in D

Simen Kjaeraas simen.kjaras at gmail.com
Mon Sep 17 07:49:33 PDT 2012


On Mon, 17 Sep 2012 16:28:46 +0200, Alex Rønne Petersen <alex at lycus.org>  
wrote:

> On 17-09-2012 15:12, Andrei Alexandrescu wrote:
>> On 9/17/12 6:52 AM, deadalnix wrote:
>>>> Regardless, the solution at this point is going to be to add
>>>> std.typecons.NonNullable. It would be in there already, but the pull
>>>> request
>>>> with it needed more work, and it hasn't been resubmitted yet.
>>>>
>>>
>>> I don't think this is implementable as a lib in a satisfying way.
>>
>> It is, but it needs just a bit of language support in constructors.
>> Walter never got around to it.
>>
>> Andrei
>
> What support, exactly?
>
> I mean, we have @disable already.

We have the keyword. It's currently horribly broken.


-- 
Simen


More information about the Digitalmars-d mailing list