On Monday, 27 June 2016 at 03:09:46 UTC, Meta wrote:
On Sunday, 26 June 2016 at 22:32:55 UTC, Walter Bright wrote:
On 6/26/2016 10:18 AM, Enamex wrote:
- template arguments that accept constant values of any type whatsoever
'template<auto Arg>';

Still adding D features, I see!

Imitation is the sincerest form of flattery, so when is destructuring coming to D?

Also, the `if (init; condition) and switch (init; condition)` seems like a very nice idea.

It's from Go, I don't see much value in it. You can just wrap the if in a block:

{
  init;
  if(condition)…
}

That is usually more readable IMO.

Reply via email to