2 Aug
2019
2 Aug
'19
7:10 a.m.
On 8/2/19, Peter Dimov via Boost
The shared_ptr<Derived> that is returned by the static_pointer_cast shares the same reference count as the original shared_ptr<Base>, so it shouldn't matter.
Good point, I missed out that part. That function cannot be virtual but I guess it does no matter, that should be safer to use. Thanks Peter. - jupiter