title: Copy constructor for class with shared_ptr data members?
body: <p>I know how to write a copy constructor when you have raw pointer data members in a class, but how do you write a copy constructor when you manage these with a shared_ptr? </p>
  
  <p>Is there a <code>copy()</code> or <code>clone()</code> function which should be called? Interestingly I have never seen such an example.</p>