[libcxx-commits] [libcxx] [libc++] Instantiate hash function externally (PR #127040)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 22 05:58:27 PST 2025


================
@@ -16,4 +16,8 @@ bad_function_call::~bad_function_call() noexcept {}
 const char* bad_function_call::what() const noexcept { return "std::bad_function_call"; }
 #endif
 
+size_t __hash_memory(_LIBCPP_NOESCAPE const void* ptr, size_t size) _NOEXCEPT {
----------------
mordante wrote:

```suggestion
size_t __hash_memory(_LIBCPP_NOESCAPE const void* ptr, size_t size) noexcept {
```

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


More information about the libcxx-commits mailing list