On Saturday, 17 October 2020 at 14:50:47 UTC, NonNull wrote:
I have inherited an open source C project that assumes that the size of a long and the size of a pointer are the same
static assert(long.sizeof == void*.sizeof);
Adam D. Ruppe via Digitalmars-d-learn Sat, 17 Oct 2020 08:01:03 -0700
On Saturday, 17 October 2020 at 14:50:47 UTC, NonNull wrote:
I have inherited an open source C project that assumes that the size of a long and the size of a pointer are the same
static assert(long.sizeof == void*.sizeof);