On Wednesday, 7 January 2015 at 13:02:20 UTC, Daniel Murphy wrote:
"Iain Buclaw via Digitalmars-d" wrote in message news:[email protected]...

No, that assert should never fail.

And yet for some reason it does.

Every type has at least a size of one byte. So a and b occupy different stack slots due to padding. The default op== does a memcmp and compares the padding as well.

My guess.

Reply via email to