System::SmartPtr::static_pointer_cast 方法

SmartPtr::static_pointer_cast method

使用 static_cast 对指向的对象进行指针类型转换。

template<class Y> SmartPtr<Y> System::SmartPtr<T>::static_pointer_cast() const
Parameter描述
Y指向对象的目标类型。

ReturnValue

始终处于共享模式的已更改类型指针。

另见