title: Difference on std::vector push_back(Object()) and push_back(new Object())?
body: <p>In my current code, I'm wanting to insert new DrawObjects into a vector I created, </p>
  
  <p>std::vector&lt; DrawObject > objects;</p>
  
  <p>What is the difference between:</p>
  
  <pre><code>objects.push_back(DrawObject(name, surfaceFile, xPos, yPos, willMoveVar, animationNumber));
  </code></pre>
  
  <p>and</p>
  
  <pre><code>objects.push_back(new DrawObject(name, surfaceFile, xPos, yPos, willMoveVar, animationNumber));
  </code></pre>