[Bug libstdc++/52931] std::hash shouldn't be defined for unknown types

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 11 11:28:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52931

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-04-11 11:27:57 UTC ---
Author: paolo
Date: Wed Apr 11 11:27:50 2012
New Revision: 186310

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186310
Log:
2012-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

    PR libstdc++/52931
    * include/bits/functional_hash.h (struct hash): Remove definition.
    * testsuite/20_util/hash/52931.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/20_util/hash/52931.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/functional_hash.h



More information about the Gcc-bugs mailing list