System::Cast 메서드
System::Cast method
SmartPtr 객체에 대한 캐스트를 수행합니다.
template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::Cast(SmartPtr<TFrom> const &obj)
| 매개변수 | 설명 |
|---|---|
| TTo | 대상 포인티 타입. |
| TFrom | 소스 포인티 타입. |
| 매개변수 | 형식 | 설명 |
|---|---|---|
| obj | SmartPtr<TFrom> const& | 소스 포인터. |
ReturnValue
캐스트가 허용되는 경우 캐스트 결과.
또 보기
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++