System::Cast methode
System::Cast method
Voert een cast uit op SmartPtr objecten.
template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::Cast(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 de cast is toegestaan.
Zie ook
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++