"Per Ångström" <[email protected]> wrote in message 
news:[email protected]...
>     return s || "default";

I think allowing the second expression in the ternary operator to be omitted 
would be a better fit for D, and provide the same function.

ie.
auto x = a ? a : b;
auto x = a ? : b;

I think bearophile might have already proposed this? 


Reply via email to