gcc/libstdc++-v3/include/ext
Jonathan Wakely 306133e3d4 re PR libstdc++/51083 (TR1 [tr.c99.cmath.over] and C++11 [cmplx.over] overloads not constrained)
PR libstdc++/51083
	* include/ext/type_traits.h (__promote): Only define __type member
	for integral and floating point types, to prevent math functions
	participating in overload resolution for other types.
	(__promote_2, __promote_3, __promote_4): Use __promote in default
	template argument values, so deduction only succeeds for integral and
	floating point types.
	* testsuite/26_numerics/cmath/51083.cc: New.
	* testsuite/26_numerics/complex/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/cmath/51083.cc: New.
	* testsuite/tr1/8_c_compatibility/complex/51083.cc: New.

From-SVN: r181321
2011-11-12 15:57:03 +00:00
..
pb_ds user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27:06 +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 PR libstdc++/36104 part four 2011-01-30 22:39:36 +00: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 user.cfg.in (PDF_HYPERLINKS): To NO. 2011-08-07 07:27: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 throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +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 basic_string.h (basic_string::at): Move adjacent to other overload. 2011-11-07 00:06:23 +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