dynamic_cast <T*>(sp.get()). Parameters. sp: A shared_ptr. U* shall be convertible to T* using dynamic_cast. Return Value. A shared_ptr object that owns the ...
確定! 回上一頁