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?
Nick Sabalausky (Abscissa) via Digitalmars-d Mon, 06 Mar 2017 19:50:11 -0800
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?