Nullable!T

Clemens eriatarka84 at gmail.com
Wed Jul 7 05:38:53 PDT 2010


Jacob Carlborg Wrote:

> On 2010-07-06 17.01, Adam Ruppe wrote:
> > On 7/6/10, bearophile<bearophileHUGS at lycos.com>  wrote:
> >> I don't think that's a good idea, you lose the standard API of Nullable, so
> >> it's worse than useless.
> >
> > Make that standard API free functions, like std.array does. Then, it
> > would work with all nullable items, and not just Nullable ones.
> > Uniformity is good.
> 
> Uniform function call syntax isn't implemented (issue 3382), if you're 
> referring to that.

Strange... I could have sworn that when I recently tried D2, arrays supported range methods (popFront etc), and that those were implemented in std.array. Am I mistaken, or how does that work?


More information about the Digitalmars-d mailing list