Edward Smith-Rowland
e987fb1ebe
Implement P0415 More constexpr for std::complex.
2018-11-23 Edward Smith-Rowland <3dw4rd@verizon.net>
Implement P0415 More constexpr for std::complex.
* include/std/complex (conj(complex<Tp>), norm(complex<Tp>)): Constexpr;
(real(Tp), imag(Tp)): Constexpr;
(operator@=(Tp), operator@=(complex<Tp>)): Constexpr;
(operator@(Tp,complex<Tp>), operator@(complex<Tp>,Tp)
operator@(complex<Tp>,complex<Tp>)): Constexpr.
* testsuite/26_numerics/complex/comparison_operators/
more_constexpr.cc: New test.
* testsuite/26_numerics/complex/operators/more_constexpr.cc: New test.
* testsuite/26_numerics/complex/requirements/
more_constexpr.cc: New test.
* testsuite/26_numerics/complex/value_operations/
more_constexpr.cc: New test.
* testsuite/26_numerics/headers/complex/synopsis.cc:
Add _GLIBCXX20_CONSTEXPR to applicable operators; Add missing proj().
* testsuite/26_numerics/headers/complex/synopsis.cc:
Add _GLIBCXX20_CONSTEXPR to relevant decls.
From-SVN: r266416
2018-11-23 18:17:04 +00:00
..
2018-05-03 13:40:10 +01:00
2018-11-11 22:20:19 +00:00
2018-08-30 16:07:35 +01:00
2018-06-08 17:43:14 +01:00
2018-08-14 14:55:21 +01:00
2018-07-26 15:02:01 +01:00
2018-11-23 18:17:04 +00:00
2018-09-25 15:59:27 +01:00
2018-08-10 00:25:53 +01:00
2018-08-10 00:25:53 +01:00
2018-05-21 18:18:35 +01:00
2018-10-08 13:07:22 +01:00
2018-07-26 15:01:55 +01:00
2018-06-06 07:05:07 +01:00
2018-08-10 00:25:53 +01:00
2018-08-10 00:25:53 +01:00
2018-11-11 05:16:51 +00:00
2018-11-21 18:40:55 +00:00
2018-07-26 15:01:55 +01:00
2018-11-19 17:05:18 +02:00
2018-08-16 17:56:40 +01:00
2018-07-26 15:01:55 +01:00
2018-08-22 23:54:33 +01:00
2018-08-15 20:20:02 +01:00
2018-08-10 00:25:53 +01:00
2018-11-17 23:35:44 +00:00
2018-07-06 13:39:02 +01:00
2018-07-05 22:29:51 +01:00
2018-08-22 23:54:33 +01:00
2018-11-19 10:53:59 +00:00
2018-05-18 16:02:14 -04:00
2018-07-26 15:01:55 +01:00
2018-08-20 14:53:56 +01:00
2018-11-11 05:17:03 +00:00
2018-08-10 00:25:53 +01:00
2018-08-10 00:25:53 +01:00
2018-06-19 18:19:16 +01:00
2018-06-14 20:36:54 +01:00
2018-10-17 22:08:51 +03:00
2018-08-10 00:25:53 +01:00
2018-11-17 23:35:44 +00:00