[libcxx-commits] [libcxx] [libc++][chrono] P2592R3: Hashing for chrono (PR #165132)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 28 06:56:17 PDT 2025


================
@@ -13,6 +13,7 @@
 #include <__compare/ordering.h>
 #include <__compare/three_way_comparable.h>
 #include <__config>
+#include <__functional/hash.h>
----------------
philnik777 wrote:

IMO we should consider removing the `<cstring>` includes instead. We already have `constexpr_c_functions.h`, which is included in quite a few headers anyways and provides mostly the functions we need (except arguably `__constexpr_memcpy`, but IDK whether we care to introduce that).

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


More information about the libcxx-commits mailing list