System::ConstCast Methode

System::ConstCast method

Ende veralteter Casts.

template<typename TTo,typename TFrom> CastResult<TTo>::type System::ConstCast(const SmartPtr<TFrom> &obj)
ParameterBeschreibung
TToZiel-Pointee-Typ.
TFromQuell-Pointee-Typ.
ParameterTypBeschreibung
objconst SmartPtr<TFrom>&Quellzeiger.

ReturnValue

Cast-Ergebnis, wenn der Cast erlaubt ist, sonst nullptr.

Hinweise

Führt const cast auf SmartPtr Objekten aus.

Siehe auch