System::ForceStaticCast methode
System::ForceStaticCast method
Voert een echte static cast uit op SmartPtr objecten.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::ForceStaticCast(SmartPtr<TFrom> const &obj)
| Parameter | Beschrijving |
|---|---|
| TTo | Doel‑pointee type. |
| TFrom | Bron‑pointee type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | SmartPtr<TFrom> const& | Bron‑pointer. |
ReturnValue
Cast‑resultaat als cast is toegestaan, anders is het gedrag ongedefinieerd.
Zie ook
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++