ideas about ranges

Lionello Lunesu lionello at lunesu.remove.com
Fri May 22 20:18:05 PDT 2009


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:gv7j9t$m9g$2 at digitalmars.com...
> Lionello Lunesu wrote:
>> Andrei Alexandrescu wrote:
[snip]
>>> Given the bad reputation that pointers have, I guess people wouldn't 
>>> like this all that much.
>>
>> You don't need a pointer to T, you need a nullable T :)
>> ...which doesn't exist...
>
> You need a nullable reference to T...

Agreed. I just wanted to make a point (again) about nullable types. A 
nullable reference would be great, as long as it works for all types, 
builtins/classes/structs/... Without nullable references, SafeD will be a 
p.i.t.a....

L. 




More information about the Digitalmars-d mailing list