gcc/libstdc++-v3/testsuite/tr1
Paolo Carlini 774c3d8647 cmath (pow(float, int), [...]): Do not define in C++0x mode, per DR 550.
2008-05-26  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/c_global/cmath (pow(float, int), pow(double, int),
	pow(long double, int)): Do not define in C++0x mode, per DR 550.
	* include/tr1_impl/cmath (pow): Do not bring in unconditionally
	from namespace std.
	* include/tr1/cmath (pow(double, double), pow(float, float),
	pow(long double, long double), pow(_Tp, _Up)): Define.
	* include/tr1/complex (pow): Do not bring in from namespace std.
	(pow(const std::complex<_Tp>&, int), pow(const std::complex<_Tp>&,
	const _Tp&), pow(const _Tp&, const std::complex<_Tp>&),
	pow(const std::complex<_Tp>&, const std::complex<_Tp>&)): Define.
	* include/tr1_impl/complex (pow(const std::complex<_Tp>&,
	const _Up&), pow(const _Tp&, const std::complex<_Up>&),
	pow(const std::complex<_Tp>&, const std::complex<_Up>&)): Always
	define.
	* doc/xml/manual/intro.xml: Add an entry for DR 550.
	* testsuite/26_numerics/headers/cmath/dr550.cc: New.
	* testsuite/tr1/8_c_compatibility/cmath/overloads.cc: Adjust.

From-SVN: r135955
2008-05-26 19:18:24 +00:00
..
2_general_utilities shared_ptr_neg.cc, [...]: Mark changed error message prelude... 2008-03-02 13:59:10 +00:00
3_function_objects all_bound.cc: Disambiguate uses of TR1/C++0x facilities. 2007-07-12 14:33:38 +00:00
4_metaprogramming re PR libstdc++/35637 (tr1::function fails with const member function pointer) 2008-03-20 20:28:54 +00:00
5_numerical_facilities requirements/non_uint_neg.cc: Avoid -Wall warnings. 2007-12-10 16:55:30 +00:00
6_containers re PR libstdc++/35480 (Relational operators for <tr1/tuple> don't error on different sized tuples) 2008-03-06 18:35:26 +00:00
7_regular_expressions [multiple changes] 2007-12-10 13:53:10 +00:00
8_c_compatibility cmath (pow(float, int), [...]): Do not define in C++0x mode, per DR 550. 2008-05-26 19:18:24 +00:00
headers re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x) 2007-05-31 23:37:56 +00:00