title: Copying a vector of pointers
body: <p>I have a <code>std::vector&lt;A*&gt;</code> which I need to deep copy to another vector using <code>A::Clone()</code>. </p>
  
  <p>Instead of using handwritten loops, I was wondering whether I could use <code>for_each</code> or any Standard Library algorithm for this.</p>