On 07/12/2012 09:03 PM, Andrei Alexandrescu wrote:
On 7/12/12 2:37 PM, deadalnix wrote:
On 12/07/2012 19:32, Andrei Alexandrescu wrote:
On 7/12/12 12:24 PM, Daniel Murphy wrote:
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)

gcc used to have that extension and they dropped it...

Andrei


Do you know why ? It have been useful to me in languages that support it.

I apparently misspoke. Here's the search: http://goo.gl/zjKiJ

Andrei

You might have had in mind the <? and >? operators.

Reply via email to