## SmartPtr::static_pointer_cast method


指されているオブジェクトに対して static_cast を使用してポインタを別の型にキャストします。

```cpp
template<class Y> SmartPtr<Y> System::SmartPtr<T>::static_pointer_cast() const
```


| パラメーター | 説明 |
| --- | --- |
| Y | 指し示すオブジェクトのターゲット型。 |

### ReturnValue

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

## 参照

* Class [SmartPtr](../)
* Class [SmartPtr](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
