System::SmartPtr::dynamic_pointer_cast メソッド

SmartPtr::dynamic_pointer_cast method

指し示すオブジェクトに対して dynamic_cast を使用してポインタを別の型にキャストします。

template<class Y> SmartPtr<Y> System::SmartPtr<T>::dynamic_pointer_cast() const
パラメーター説明
Y指し示すオブジェクトのターゲット型。

ReturnValue

常に共有モードである、型が変更されたポインタ。

参照