[libcxx-commits] [libcxx] [libc++][NFC] Add a static assertion to document an assumption in std::hash (PR #114440)

Sergei Barannikov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 25 13:44:34 PST 2024


s-barannikov wrote:

The platform has 32-bit bytes, it is not currently possible to upstream it. I understand that static_assert is better than untested code, so I don't insist on any changes upstream, that's why I'm asking for advice on how I could fix it downstream.
Would it be correct to implement this specialization the same way as for `double`?


https://github.com/llvm/llvm-project/pull/114440


More information about the libcxx-commits mailing list