http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52942
--- Comment #14 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-04-12 12:18:33 UTC --- Author: paolo Date: Thu Apr 12 12:18:23 2012 New Revision: 186376 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186376 Log: 2012-04-12 Paolo Carlini <paolo.carl...@oracle.com> PR libstdc++/52942 * include/bits/stl_function.h (_Identity, _Select1st, _Select2nd): In C++11 mode do not derive from std::unary_function. * include/ext/functional (identity, select1st, select2nd): Adjust. * testsuite/23_containers/unordered_map/requirements/52942.cc: New. * testsuite/23_containers/unordered_set/requirements/52942.cc: Likewise. Added: branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc Modified: branches/gcc-4_7-branch/libstdc++-v3/ChangeLog branches/gcc-4_7-branch/libstdc++-v3/include/bits/stl_function.h branches/gcc-4_7-branch/libstdc++-v3/include/ext/functional