ctgmath: Include <complex>.

* include/c_global/ctgmath: Include <complex>.
	* testsuite/26_numerics/headers/ctgmath/complex.cc: New.
	* doc/xml/manual/status_cxx2011.xml: Update.
	* doc/html/manual/status.html: Regenerate.

From-SVN: r215803
This commit is contained in:
Jonathan Wakely 2014-10-02 16:52:24 +01:00 committed by Jonathan Wakely
parent 5827c03c81
commit d17f7d8a9d
5 changed files with 34 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2014-10-02 Jonathan Wakely <jwakely@redhat.com>
* include/c_global/ctgmath: Include <complex>.
* testsuite/26_numerics/headers/ctgmath/complex.cc: New.
* doc/xml/manual/status_cxx2011.xml: Update.
* doc/html/manual/status.html: Regenerate.
2014-10-02 Edward Smith-Rowland <3dw4rd@verizon.net>
* include/bits/stl_function.h: Generic associative lookup feature

File diff suppressed because one or more lines are too long

View File

@ -2049,13 +2049,10 @@ particular release.
<entry/>
</row>
<row>
<?dbhtml bgcolor="#B0B0B0" ?>
<entry>26.8</entry>
<entry>C Library</entry>
<entry>Partial</entry>
<entry><code>&lt;ctgmath&gt;</code> doesn't include
<code>&lt;ccomplex&gt;</code>
</entry>
<entry>Y</entry>
<entry/>
</row>
<row>
<entry>

View File

@ -35,6 +35,7 @@
# include <bits/c++0x_warning.h>
#else
# include <cmath>
# include <complex>
#endif
#endif

View File

@ -0,0 +1,23 @@
// Copyright (C) 2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++11" }
// { dg-do compile }
#include <ctgmath>
std::complex<double> d;