This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r186376 - in /branches/gcc-4_7-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 Apr 2012 12:18:26 -0000
- Subject: r186376 - in /branches/gcc-4_7-branch/libstdc++...
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.carlini@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