Checking if a structs .init value is zero bits only

Per Nordlöw per.nordlow at gmail.com
Wed Mar 28 09:40:38 UTC 2018


On Wednesday, 28 March 2018 at 01:39:40 UTC, Seb wrote:
> Have a look at:
>
> https://github.com/dlang/phobos/pull/6024
>
> (review/feedbackon this PR is welcome!)

Exactly what I wanted. Thanks!

In use here

https://github.com/nordlow/phobos-next/blob/41b9e0dcfbb4eed6b2ee52d0465425556f14c00f/src/open_hashmap_or_hashset.d#L242


More information about the Digitalmars-d-learn mailing list