http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53339
--- Comment #14 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-15 10:00:28 UTC --- Author: paolo Date: Tue May 15 10:00:19 2012 New Revision: 187515 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187515 Log: 2012-05-15 Paolo Carlini <paolo.carl...@oracle.com> PR libstdc++/53339 * include/bits/hashtable_policy.h (__detail::_Identity, __detail::_Select1st): Add. (_Map_base, _Hashtable_base): Use the latter, adjust parameters. * include/bits/hashtable.h (_Hashtable::__key_extract): Adjust. * include/bits/unordered_set.h (__uset_hashtable, __umset_hashtable): Likewise. * include/bits/unordered_map.h (__umap_hashtable, __ummap_hashtable): Likewise. * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd) Unconditionally derive from unary_function. * include/ext/functional (identity, select1st, select2nd): Remove #ifdef __GXX_EXPERIMENTAL_CXX0X__ bits. * testsuite/23_containers/unordered_map/requirements/53339.cc: New. * testsuite/23_containers/unordered_multimap/requirements/ 53339.cc: Likewise. Added: trunk/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/53339.cc trunk/libstdc++-v3/testsuite/23_containers/unordered_multimap/requirements/53339.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/hashtable.h trunk/libstdc++-v3/include/bits/hashtable_policy.h trunk/libstdc++-v3/include/bits/stl_function.h trunk/libstdc++-v3/include/bits/unordered_map.h trunk/libstdc++-v3/include/bits/unordered_set.h trunk/libstdc++-v3/include/ext/functional trunk/libstdc++-v3/testsuite/20_util/ratio/cons/cons_overflow_neg.cc