template<class T> complex(const T& re = T(), const T& im = T());
Effects: Constructs an object of class complex.
Postcondition: real() == re && imag() == im.
Returns: The value of the real component.
Effects: Assigns val to the real component.
Returns: The value of the imaginary component.
Effects: Assigns val to the imaginary component.