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