diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-05-12 11:34:01 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-05-15 16:33:16 +0100 |
commit | 6dbcbd96e90159e87a339b98192b7e6e5534b0d7 (patch) | |
tree | dcf3d3c26e9877ba7bb55b7cb9190e91ecf80c8b /libstdc++-v3/testsuite/std | |
parent | 87d0daab1ec9d5c901295e8045cbd67f80b2fa23 (diff) | |
download | gcc-6dbcbd96e90159e87a339b98192b7e6e5534b0d7.zip gcc-6dbcbd96e90159e87a339b98192b7e6e5534b0d7.tar.gz gcc-6dbcbd96e90159e87a339b98192b7e6e5534b0d7.tar.bz2 |
libstdc++: Deprecate non-standard std::fabs(const complex<T>&) [PR120235]
There was an overload of fabs for std::complex in TR1 and in some C++0x
drafts, but it was removed from the working draft by LWG 595.
Since we've been providing it for decades we should deprecate it before
removing it.
libstdc++-v3/ChangeLog:
PR libstdc++/120235
* doc/html/*: Regenerate.
* doc/xml/manual/evolution.xml: Document deprecation.
* include/std/complex: Replace references to TR1 subclauses with
corresponding C++11 subclauses.
(fabs): Add deprecated attribute.
* testsuite/26_numerics/complex/fabs_neg.cc: New test.
Reviewed-by: Tomasz KamiĆski <tkaminsk@redhat.com>
Diffstat (limited to 'libstdc++-v3/testsuite/std')
0 files changed, 0 insertions, 0 deletions