title: Initializing std::complex
body: <p>I saw couple of examples online which shows that the std::complex variables can be initialized by the following:</p>
  
  <pre><code>std::complex&lt;float&gt; val(10, -2);
  </code></pre>
  
  <p>But, is there a way to do something like the following:</p>
  
  <pre><code>std::complex&lt;float&gt; val;
  val.real = 10;
  val.imag = -2;
  </code></pre>