System::Cast_noexcept method
System::Cast_noexcept method
Performs cast on SmartPtr objects.
template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::Cast_noexcept(SmartPtr<TFrom> const &obj)
Parameter | Description |
---|---|
TTo | Target pointee type. |
TFrom | Source pointee type. |
Parameter | Type | Description |
---|---|---|
obj | SmartPtr<TFrom> const& | Source pointer. |
ReturnValue
Cast result if cast is allowed or nullptr otherwise.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++