Méthode System::static_pointer_cast

System::static_pointer_cast method

Convertit les pointeurs intelligents en utilisant static_cast.

template<class Y,class X> SmartPtr<Y> System::static_pointer_cast(SmartPtr<X> const &x)
ParamètreDescription
XType de l’objet pointé par le pointeur source.
YType de pointeur cible pointé.
ParamètreTypeDescription
xSmartPtr<X> const&Pointeur source.

ReturnValue

Pointeur après conversion.

Voir aussi