real (非メンバ関数) -- <cmath>と<complex>のconstexpr対応 (close #1198)

1 · cpprefjp · Jan. 23, 2024, 6:33 a.m.
diff --git a/reference/complex/complex/real_free.md b/reference/complex/complex/real_free.md index bd5f8876c..24508361a 100644 --- a/reference/complex/complex/real_free.md +++ b/reference/complex/complex/real_free.md @@ -6,14 +6,16 @@ ```cpp namespace std { template <class T> - T real(const complex<T>& x); // (1) C++03 + T + real(const complex<T>& x); // (1) C++03 template <class T> - constexpr T real(const complex<T>& x); // (1) C++14 + constexpr T + real(const compl...