Checking if a structs .init value is zero bits only
Per Nordlöw via Digitalmars-d-learn Tue, 27 Mar 2018 17:21:10 -0700
Is there a way to check if a struct `S` can be initialized using
zero bits only, so that we can allocate and initialize an array
of `S` in one go using `calloc`? If not, what should such a trait
look like?
- Checking if a structs .init value is ... Per Nordlöw via Digitalmars-d-learn
- Re: Checking if a structs .init ... Ali Çehreli via Digitalmars-d-learn
- Re: Checking if a structs .i... Per Nordlöw via Digitalmars-d-learn
- Re: Checking if a structs .init ... Seb via Digitalmars-d-learn
- Re: Checking if a structs .i... Per Nordlöw via Digitalmars-d-learn