System::ForceStaticCast-Methode
System::ForceStaticCast method
Führt ein echtes statisches Casting von SmartPtr-Objekten durch.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::ForceStaticCast(SmartPtr<TFrom> const &obj)
| Parameter | Beschreibung |
|---|---|
| TTo | Ziel-Pointee-Typ. |
| TFrom | Quell-Pointee-Typ. |
| Parameter | Typ | Beschreibung |
|---|---|---|
| obj | SmartPtr<TFrom> const& | Quellzeiger. |
ReturnValue
Gibt das Cast-Ergebnis zurück, wenn das Casting erlaubt ist, andernfalls ist das Verhalten undefiniert.
Siehe auch
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++