System::Cast_noexcept-metod

System::Cast_noexcept method

Utför typkonvertering på SmartPtr objekt.

template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::Cast_noexcept(SmartPtr<TFrom> const &obj)
ParameterBeskrivning
TToMålpointerns typ.
TFromKällpointerns typ.
ParameterTypeBeskrivning
objSmartPtr<TFrom> const&Källpekare.

ReturnValue

Cast‑resultat om cast är tillåten eller nullptr annars.

Se även