"Jonas Drewsen" <[email protected]> wrote in message 
news:[email protected]...
>
> auto a = foo ?? new Foo();
>
> is short for:
>
> auto a = foo is null ? new Foo() : foo;
>
> /Jonas
>

Yeah, I've been planning to try and get this into D one day.  Probably 
something like:
(a ?: b) -> (auto __tmp = a, __tmp ? __tmp : b) 


Reply via email to