forked from boostorg/unordered
5190a5d7f88de7a3f0162147d14f7f90e8ee6209
It's undefined behaviour. Still happens for piecewise construction emultation for std::pair, I don't think there's anyway to avoid it. I had considered using offsetof to get a pointer to a member, but that's also undefined behaviour when a pair member doesn't have standard layout. Piecewise construction emulation has other problems anyway. So, this mostly fixes PR #5. I also stopped using addressof in self-asssignment checks as operator& is fine.
Languages
C++
99.5%
CMake
0.3%