PR libstdc++/88341 - Complex norm doesn't compile with C++11
authorEdward Smith-Rowland <3dw4rd@verizon.net>
Tue, 4 Dec 2018 16:26:39 +0000 (16:26 +0000)
committerEdward Smith-Rowland <emsr@gcc.gnu.org>
Tue, 4 Dec 2018 16:26:39 +0000 (16:26 +0000)
commitd012ab6057968dd5235a64c03c2824ee6e80eea4
tree8c403e1b62033547450cdef5bb581038c40c7692
parente95ca1333dfa819dfcde579ec06cad7dac0a1d0b
PR libstdc++/88341 - Complex norm doesn't compile with C++11

2018-12-03  Edward Smith-Rowland  <3dw4rd@verizon.net>

PR libstdc++/88341 - Complex norm doesn't compile with C++11
* include/std/complex (_S_do_it): Make C++20 constexpr.
* testsuite/26_numerics/complex/value_operations/pr88341.cc: New test.

From-SVN: r266788
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/complex
libstdc++-v3/testsuite/26_numerics/complex/value_operations/pr88341.cc [new file with mode: 0644]