title: c++ float* array as reference to std::vector<float>
body: <p>I want to create a <code>std::vector&lt;float&gt; vpd</code> which will be a reference to <code>float*</code>.</p>
  
  <pre><code>float * old = new float[6];
  for (int i = 0; i &lt; 6; i++)
  {
      old[i] = i;
  }
  vector&lt;float&gt; vpd(6);
  auto refasd = &amp;*vpd.begin();
  *refasd = *old;
  vpd[0] = 23;
  cout &lt;&lt; old[0] &lt;&lt; endl;
  </code></pre>
  
  <p>How should I modify the code, if I want get <code>23</code> from <code>cout</code>?</p>