function template · 2 overloads
std::real
- Header
<complex>- Draft
- [cmplx.over]
- Scope
std- cppreference
- std::real
Overloads
- (1)
template<class A> requires is-arithmetic-v<A> constexpr /* implementation-defined */ real(A x); - (2)
template<class T> constexpr T real(const complex<T>& x);