Assigning to class struct member leading to unexpected behavior.

Paul paultjeadriaanse at gmail.com
Thu Jan 28 02:33:24 UTC 2021


On Thursday, 28 January 2021 at 02:03:40 UTC, Paul Backus wrote:
> The braced-initializer syntax only works in declarations, not 
> assignments.

Oh, I see, I'm guessing that explains the (sadly unfinished) 
In-place struct initialization
DIP of wilzbach.
(https://github.com/dlang/DIPs/pull/71)

Kind of sad so many DIP's seem to end up stranded :/


More information about the Digitalmars-d-learn mailing list