C++17 is feature complete
Ola Fosheim Grøstad via Digitalmars-d
digitalmars-d at puremagic.com
Sun Jun 26 23:52:58 PDT 2016
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.
More information about the Digitalmars-d
mailing list