[libcxx-commits] [libcxx] [libcxx] Put `std::monostate` in `<utility>` (PR #128373)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 10 20:00:24 PDT 2025


================
@@ -640,6 +640,7 @@ experimental/utility compare
 experimental/utility cstddef
 experimental/utility cstdint
 experimental/utility cstdlib
+experimental/utility cstring
----------------
frederick-vs-ja wrote:

> I thought that we already had `std::hash` in `<utility>`, but that we didn't makes me think we shouldn't back-port this after all.

Oh... libc++'s `<utility>` used to provide `std::hash`, but such extension (?) was removed by 69d5a6662115499198ebfa07a081e98a6ce4b915 (https://reviews.llvm.org/D104002).

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


More information about the libcxx-commits mailing list