DIP 1030--Named Arguments--Community Review Round 1 Discussion
Walter Bright
newshound2 at digitalmars.com
Sun Feb 9 20:59:52 UTC 2020
On 2/9/2020 11:51 AM, Arine wrote:
> struct A {
> int foo;
> }
>
> struct A {
> int bar; // renamed from foo
> deprecated alias foo = bar;
> };
>
>
> False equivalency, you have many tools at your disposal to deal with this for
> structs.
C has it, too. Never heard a single complaint about it, either.
https://en.cppreference.com/w/c/language/struct_initialization
More information about the Digitalmars-d
mailing list