Wouldn't this be better with bitfields?

Walter Bright newshound2 at digitalmars.com
Fri Jul 5 16:52:23 UTC 2024


On 7/4/2024 8:18 AM, Richard (Rikki) Andrew Cattermole wrote:
> As a consequence it does mean that you shouldn't be doing things like tagged 
> pointers with it.

That's not a problem, either.

> And that's a problem since pretty much all new cpu designs are 64bit.

If you layout your fields the same way as the associated C compiler for that cpu 
does, you'll be just fine.



More information about the Digitalmars-d mailing list