Severe 2.084 regression when using staticArray on array of struct with class and bool member

Per Nordlöw per.nordlow at gmail.com
Wed Feb 13 09:05:17 UTC 2019


On Tuesday, 12 February 2019 at 21:01:12 UTC, Basile B. wrote:
> On Tuesday, 12 February 2019 at 20:26:55 UTC, Basile B. wrote:
>> The bug goes away when S size is over or equal to 33 bytes 
>> because in this case the parameter is well copied.
>
> correction: I meant 17, not 33.

Does this happen for every struct `S`, where

     S.sizeof <= 16

or does

     S.tupleof

play a role aswell?


More information about the Digitalmars-d mailing list