[Issue 24343] Read only data used to initialize objects that are mostly zero

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 25 19:50:57 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24343

--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
TypeInfo could have a member
---
byte pattern;
---
so that struct S { char[100] x; } (sockaddr_un?) could still be initialized
with memset.

--


More information about the Digitalmars-d-bugs mailing list