Yet another terrible compile time argument proposal

bomat Tempest_spam at gmx.de
Mon Jan 15 18:01:33 UTC 2024


On Monday, 15 January 2024 at 03:43:04 UTC, zjh wrote:
> In fact, the `initialization` of C++is better than that of D.
>
> ```d
> //C++;
> A a{1,2};
>
> //VS,D:
> A a=A(1,2);
> ```

The problem with C++ is that the second syntax also works but 
does not do the same thing, which is just awful.


More information about the Digitalmars-d mailing list