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
algorithm
alloc_traits.h ptr_traits.h (__rebind): Replace with... 2011-11-08 00:33:45 +00:00
array_allocator.h
atomicity.h
bitmap_allocator.h
cast.h
codecvt_specializations.h
concurrence.h
debug_allocator.h
enc_filebuf.h
extptr_allocator.h
functional
iterator
malloc_allocator.h
memory
mt_allocator.h
new_allocator.h
numeric
numeric_traits.h
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
rb_tree
rc_string_base.h
rope
ropeimpl.h
slist
sso_string_base.h
stdio_filebuf.h
stdio_sync_filebuf.h
string_conversions.h
throw_allocator.h
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_fwd.h
vstring_util.h
vstring.h basic_string.h (basic_string::at): Move adjacent to other overload. 2011-11-07 00:06:23 +00:00
vstring.tcc