System::ConstCast-methode
System::ConstCast method
Einde van verouderde casts.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::ConstCast(const SmartPtr<TFrom> &obj)
| Parameter | Beschrijving |
|---|---|
| TTo | Doel‑pointee type. |
| TFrom | Bron‑pointee type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const SmartPtr<TFrom>& | Bron‑pointer. |
ReturnValue
Castresultaat als cast is toegestaan, anders nullptr.
Opmerkingen
Voert const-cast uit op SmartPtr objecten.
Zie ook
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++