OSDN Git Service

2012-04-12 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2012 12:18:23 +0000 (12:18 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Apr 2012 12:18:23 +0000 (12:18 +0000)
commit41d7352dd1d4cf2898e33f17a8df6775b73de2f6
tree99b7bc1e9d1956c402c6ef685049a6f981c4bdf3
parent0049d63398bb6cbf2ad0595f4150d9533ac49e2e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186376 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/include/ext/functional
libstdc++-v3/testsuite/23_containers/unordered_map/requirements/52942.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_set/requirements/52942.cc [new file with mode: 0644]