Summary: | Support std::hash with enum types (LWG 2148) | ||
---|---|---|---|
Product: | gcc | Reporter: | Geoff Romer <gromer> |
Component: | libstdc++ | Assignee: | Ville Voutilainen <ville.voutilainen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexandre.nunes, daniel.kruegler, ppluzhnikov, ville.voutilainen, webrown.cpp |
Priority: | P3 | ||
Version: | unknown | ||
Target Milestone: | 6.0 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2014-04-26 00:00:00 |
Description
Geoff Romer
2014-04-25 23:28:41 UTC
Google ref: b/8985947 Mine. Patch available: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02162.html Author: redi Date: Wed Jul 29 12:41:23 2015 New Revision: 226347 URL: https://gcc.gnu.org/viewcvs?rev=226347&root=gcc&view=rev Log: 2015-07-29 Ville Voutilainen <ville.voutilainen@gmail.com> PR libstdc++/60970 * include/bits/functional_hash.h (__hash_enum): New. (hash): Derive from __hash_enum. * testsuite/20_util/hash/60970.cc: New. Added: trunk/libstdc++-v3/testsuite/20_util/hash/60970.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/functional_hash.h Fixed for 6.1 |