System::ConstCast method
System::ConstCast method
End of deprecated casts.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::ConstCast(const SmartPtr<TFrom> &obj)
Parameter | Description |
---|---|
TTo | Target pointee type. |
TFrom | Source pointee type. |
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<TFrom>& | Source pointer. |
ReturnValue
Cast result if cast is allowed or nullptr otherwise.
Remarks
Performs const cast on SmartPtr objects.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++