
12 Jul
2006
12 Jul
'06
2:39 p.m.
On 7/12/06, Andrew Holden
Are you sure about that? A check of the documentation lists the signature for that constructor as
template<class Y> explicit shared_ptr(Y * p);
My apologies, I didn't know that. Certainly a very nice feature as it means that even without the virtual destructor both would be safe. Promises to double-check the documentation before replying next time, ~ Scott McMurray