static_pointer_cast <T>(sp). 相當於 static_cast<T*>(sp.get()). dynamic_pointer_cast<T>(sp). 相當於 dynamic_cast<T*>(sp.get()).
確定! 回上一頁