title: Vector_push back not populating the vector (c++)
body: <p>I'm not getting any error messages, simply my vector is not populating. Looking at the vector in the watch list, nothing is being copied. Why is this?
  I've tried two ways.
  The first </p>
  
  <pre><code>std::vector&lt;Point3D*&gt;   hitpoints;
  local_hit_point = sr.local_hit_point; //local_hit_point class Point3D 
  hitpoints.push_back(local_hit_point);
  </code></pre>
  
  <p>The second way I tried to use pointers</p>
  
  <pre><code>std::vector&lt;Point3D*&gt;   hitpoints; 
  Point3D* hittingpoint_ptr = new Point3D;
  local_hit_point = sr.local_hit_point;
  hittingpoint_ptr = &amp;local_hit_point;
  hitpoints.push_back(hittingpoint_ptr);
  </code></pre>
  
  <p>I got vectors in other places in my code which work. Am I really just being daft, but I can't seem to figure out why its not working.</p>