My two cents

Random D user no at email.com
Fri Oct 20 18:20:52 UTC 2017


On Friday, 20 October 2017 at 02:20:31 UTC, Adam D. Ruppe wrote:
> On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote:
>> return foo ?? null; would be so much easier.
> return getOr(foo, null);

I guess with UFCS you could get:
return foo.PP(null); // vs.
return foo ?? null;

:D


More information about the Digitalmars-d mailing list