System::SmartPtr::static_pointer_cast 메서드

SmartPtr::static_pointer_cast method

가리키는 객체에 static_cast를 사용하여 포인터를 다른 타입으로 캐스팅합니다.

template<class Y> SmartPtr<Y> System::SmartPtr<T>::static_pointer_cast() const
매개변수설명
Y가리키는 객체의 대상 타입.

ReturnValue

항상 공유 모드인 변경된 타입의 포인터.

또 보기