std::hash<T>::argument_type is gone in C++20. De-complicate this code so that it doesn't need to mess around with argument_type (or type traits) anymore.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rGbbd717b9a3b2: [libc++] [test] No longer rely on std::hash<T>::argument_type.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libcxx/test/std/containers/test_hash.h | ||
---|---|---|
13 | This is the only file with manual changes. Every other file's changes are simply |
This is the only file with manual changes. Every other file's changes are simply
s/test_hash<std::hash<.*>>/test_hash<\1>/g.