The new ?? and ??? operators
Arlen Albert Keshabyan
arlen.albert at gmail.com
Sun Sep 23 12:26:35 PDT 2007
Vladimir Panteleev Wrote:
> On Sun, 23 Sep 2007 20:47:08 +0300, Chris Nicholson-Sauls <ibisbasenji at gmail.com> wrote:
>
> >
> > ...its an interesting thought, but it just feels more like a scripting language feature than that of a systems language. The other '??' version that just skips nulls could be useful at times, though. Hmm.
>
> I think this is possible to implement via templates - or, if not, it will be with macros (in the form of "firstNonNull(b, c, d)").
>
> --
> Best regards,
> Vladimir mailto:thecybershadow at gmail.com
Well, maybe you're right.
More information about the Digitalmars-d
mailing list