System::Cast_noexcept method

System::Cast_noexcept method

Effectue un cast sur les objets SmartPtr.

template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::Cast_noexcept(SmartPtr<TFrom> const &obj)
ParamètreDescription
TToType du pointeur cible.
TFromType du pointeur source.
ParamètreTypeDescription
objSmartPtr<TFrom> const&Pointeur source.

ReturnValue

Résultat du cast si le cast est autorisé, sinon nullptr.

Voir aussi