gcc/libstdc++-v3/include/ext
Paolo Carlini b9b0921497 re PR libstdc++/52942 (using std::ref with a std::unordered_map fails to compile)
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.

From-SVN: r186375
2012-04-12 12:18:06 +00:00
..
pb_ds constructors_destructor_fn_imps.hpp: Increment after recursion. 2012-03-19 20:43:30 +00:00
algorithm user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
alloc_traits.h ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
array_allocator.h throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
atomicity.h re PR libstdc++/51798 (libstdc++ atomicity performance regression due to __sync_fetch_and_add) 2012-01-27 21:26:03 +01:00
bitmap_allocator.h PR c++/33255 - Support -Wunused-local-typedefs warning 2011-09-08 15:54:24 +02:00
cast.h cast.h: Fix typo in include guard. 2011-07-09 11:28:56 +01:00
codecvt_specializations.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
concurrence.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
debug_allocator.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
enc_filebuf.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
extptr_allocator.h extptr_allocator.h (construct, destroy): Fix for C++0x mode by overloading to take allocator's pointer type. 2011-06-11 17:05:08 +01:00
functional re PR libstdc++/52942 (using std::ref with a std::unordered_map fails to compile) 2012-04-12 12:18:06 +00:00
iterator PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
malloc_allocator.h throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
memory user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
mt_allocator.h throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
new_allocator.h allocator.h (std::allocator): Base class is __allocator_base. 2012-03-19 21:41:15 +00:00
numeric In C++0x mode, import iota and is_sorted from namespace std into namespace __gnu_cxx to avoid ambiguous call errors. 2011-04-07 04:11:12 +00:00
numeric_traits.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
pod_char_traits.h pod_char_traits.h: Avoid warnings in C++0x mode when int_type is unsigned. 2011-10-06 01:41:49 +00:00
pointer.h PR c++/51027 - accepts alias-declaration without ';' 2011-11-09 09:00:58 +01:00
pool_allocator.h throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
rb_tree PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
rc_string_base.h re PR c++/24163 (dependent Base class scope examined during unqualified name lookup in template) 2011-05-20 14:01:22 -04:00
rope re PR c++/24163 (dependent Base class scope examined during unqualified name lookup in template) 2011-05-20 14:01:22 -04:00
ropeimpl.h re PR c++/24163 (dependent Base class scope examined during unqualified name lookup in template) 2011-05-20 14:01:22 -04:00
slist PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
sso_string_base.h sso_string_base.h (__sso_string_base<>::_M_construct): Fix unqualified lookup. 2011-05-02 16:25:14 +00:00
stdio_filebuf.h user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +00:00
stdio_sync_filebuf.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
string_conversions.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
throw_allocator.h throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
type_traits.h re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained) 2011-11-12 15:57:03 +00:00
typelist.h re PR libstdc++/40856 (numeric_limits not specialized for __int128_t or __uint128_t) 2011-09-19 11:52:49 +00:00
vstring.h re PR libstdc++/43813 ([DR1234] vector<T*>(3, NULL) fails to compile) 2012-03-05 01:15:28 +00:00
vstring.tcc basic_string.h: Use noexcept per the FDIS (minus compare(const string&)... 2011-05-31 12:50:31 +00:00
vstring_fwd.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
vstring_util.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00