Name

operator* function template — Performs multiplication

Synopsis

template<typename T>
  complex<T> operator*(const complex<T>&, const complex<T>&);
template<typename T>
  complex<T> operator*(const complex<T>&, const T&);
template<typename T>
  complex<T> operator*(const T&, const complex<T>&);

The binary * operator performs complex multiplication. If either operand is of type T, the argument is interpreted as the real part, with an imaginary part of T( ) or 0.