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

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 25 23:30:49 PDT 2025


================
@@ -0,0 +1,55 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+
+// <chrono>
+
+// Test that <chrono> provides all of the hash specializations.
+
+#include <chrono>
+#include "poisoned_hash_helper.h"
+namespace chrono = std::chrono;
----------------
H-G-Hristov wrote:

It looks like all other tests prefer to fully qualify the tests. For consistency, maybe don't do that.
```suggestion

```

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


More information about the libcxx-commits mailing list