RangeExtra

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Apr 23 16:07:47 PDT 2009


Denis Koroskin wrote:
> On Thu, 23 Apr 2009 22:37:37 +0400, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> Now that there is a consideration about putting built-in types into a library...
> 
> ... how about introducing struct MaybeNull(T) { ... } among them (and NonNull-by-default)?

Maybe that could be done by manipulating the implicit constructor of Ref.

Andrei



More information about the Digitalmars-d mailing list