System::static_pointer_cast メソッド
System::static_pointer_cast method
static_castを使用してスマートポインタをキャストします。
template<class Y,class X> SmartPtr<Y> System::static_pointer_cast(SmartPtr<X> const &x)
| パラメーター | 説明 |
|---|---|
| X | ソースポインタが指す型。 |
| Y | 対象ポインタの指す型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| x | SmartPtr<X> const& | ソース ポインタ。 |
ReturnValue
キャスト後のポインタ。
参照
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++