ConstCast()
System::ConstCast(const SmartPtr<TFrom>&) function
End of deprecated casts.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::ConstCast(const SmartPtr<TFrom> &obj)
Template parameters
Parameter | Description |
---|---|
TTo | Target pointee type. |
TFrom | Source pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
obj | const SmartPtr<TFrom>& | Source pointer. |
Return Value
Cast result if cast is allowed or nullptr otherwise.
Remarks
Performs const cast on SmartPtr objects.
See Also
- Class SmartPtr
- Struct CastResult
- Namespace System
- Library Aspose.Slides