Conversation started Mar 30, 2015 at 14:59.
Mar 30, 2015 14:59
I'm surprised the linked paper is co-authored by Chandler Carruth, and still lacks wording that deals with the fact that the value representation of a type must not use the full set of bits available in the sizeof(T) (where T is not a narrow character type)
while doing copy-paste of that code he forgot to change one thing in one place
and it went into an infinite loop
I... don't know what to say
the problem with treating the underlying bytes as a way to hash an object isn't just because of padding between data-members, but also that there could be padding "within" an intrinsic types themselves (since the standard allows this)
 
Conversation ended Mar 30, 2015 at 15:00.