Ordering comparisons

Nick Sabalausky (Abscissa) via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 6 19:44:28 PST 2017


On 03/06/2017 08:27 PM, Andrei Alexandrescu wrote:
>
> * A struct S { int x; } compares differently on little endian and big
> endian system (!)
>

This one is very surprising. How is that so, if both structs being 
compared are of the same endian-ness?


More information about the Digitalmars-d mailing list