Operation with complex number
<p>I'd like to know how perform some simple operations with complex number without using the real and the imaginary parts separately.</p>

<p>ex:</p>

<pre><code>  complex&lt;double&gt; A(0.0,1.0);
  complex&lt;double&gt; B;
  B=A*2+A;
</code></pre>

<p>It doesn't compile (error C2678: binary '*' : no operator found which takes a left-hand operand of type 'std::complex' (or there is no acceptable conversion)).
I read it's a problem of conversion.  That's a problem, especially in the case of more complex code.</p>

<p>Does it exist a way to do operations with complex number?</p>
