2 ms·If the ownership semantics are clear, scoped_ptr works too.by dmm 14y agoIf the ownership semantics are clear, scoped_ptr works too.