complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844.
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 12 Jun 2008 10:17:53 +0000 (10:17 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 12 Jun 2008 10:17:53 +0000 (10:17 +0000)
commit3fd29fa912911b3db52046ef0d44144dd0e043ee
tree5fa8457f26dacc4e85ba8442365ab437f33de9f4
parent394a378ca94d23f47d17a863ee7a0627c48a3754
complex (pow(const complex<>&, int)): Do not define in C++0x mode, per DR 844.

2008-06-12  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/complex (pow(const complex<>&, int)): Do not define in
C++0x mode, per DR 844.
* include/tr1/complex (pow(const complex<>&, int)): Remove.
* doc/xml/manual/intro.xml: Add an entry for DR 844.
* testsuite/26_numerics/complex/dr844.cc: New.
* testsuite/tr1/8_c_compatibility/complex/overloads_int.cc: Adjust.

From-SVN: r136694
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/std/complex
libstdc++-v3/include/tr1/complex
libstdc++-v3/testsuite/26_numerics/complex/dr844.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/overloads_int.cc