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소스 포인티 타입.
매개변수형식설명
objSmartPtr<TFrom> const&소스 포인터.

ReturnValue

캐스트가 허용되는 경우 캐스트 결과.

또 보기