title: Why shouldn't you use references to smart pointers?
body: <p>I recall reading somewhere that using references to smart pointers can cause memory corruption.  Is this simply because of using the reference of the smart pointer after its been destroyed?  Or does the reference counting get messed up?</p>
  
  <p>Thanks for clarifying</p>