[libcxx-commits] [PATCH] D119891: [libc++] LWG2148, LWG2543: Enable std::hash<Enum> in C++03 and C++11

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 15 13:57:54 PST 2022


Quuxplusone created this revision.
Quuxplusone added reviewers: ldionne, mstorsjo, libc++, mclow.lists.
Quuxplusone added a project: libc++.
Quuxplusone requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added 1 blocking reviewer(s): libc++.

Also remove a redundant .fail.cpp test; non_enum.pass.cpp is a better test.

Fixes https://llvm.org/PR50257


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119891

Files:
  libcxx/include/__functional/hash.h
  libcxx/test/std/utilities/function.objects/unord.hash/enum.compile.fail.cpp
  libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp
  libcxx/test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp
  libcxx/test/support/poisoned_hash_helper.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119891.409049.patch
Type: text/x-patch
Size: 3116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220215/3b41d6c4/attachment.bin>


More information about the libcxx-commits mailing list