## 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++](../../../)
