Wouldn't this be better with bitfields?

Walter Bright newshound2 at digitalmars.com
Wed Jul 3 17:58:53 UTC 2024


On 7/2/2024 8:26 PM, Steven Schveighoffer wrote:
> Is there a guarantee that the bit pattern will match what the CPU expects?

As I've written many times, if you stick with uint the layout is portable with 
every C compiler I know of.


More information about the Digitalmars-d mailing list