Nick Treleaven:

there is also this usage:

foreach (i, _; range){...}

I think this is a very uncommon usage. I think I have not used it so far.


Potentially, there's also tuple unpacking syntax:

auto (v, _) = myTuple;  // throw away second element

This is a very important usage. Worthing breaking D2 on.

Bye,
bearophile

Reply via email to