System::ObjectExt::ObjectToUnknown method
Contents
[
Hide
]ObjectExt::ObjectToUnknown(SmartPtr<Object>) method
Converts Object to unknown type, handling both smart pointer type and bpxed value situations.
template<typename T> static std::enable_if<IsSmartPtr<T>::value, T>::type System::ObjectExt::ObjectToUnknown(SmartPtr<Object> obj)
Parameter | Description |
---|---|
T | Type to convert Object to. |
Parameter | Type | Description |
---|---|---|
obj | SmartPtr<Object> | Object to convert. |
ReturnValue
Either unboxed value or converted pointer.
See Also
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++
ObjectExt::ObjectToUnknown(SmartPtr<Object>) method
Converts Object to unknown type, handling both smart pointer type and boxed value situations.
template<typename T> static std::enable_if<!IsSmartPtr<T>::value, T>::type System::ObjectExt::ObjectToUnknown(SmartPtr<Object> obj)
Parameter | Description |
---|---|
T | Type to convert Object to. |
Parameter | Type | Description |
---|---|---|
obj | SmartPtr<Object> | Object to convert. |
ReturnValue
Either unboxed value or converted pointer.
See Also
- Class SmartPtr
- Class Object
- Class ObjectExt
- Namespace System
- Library Aspose.Font for C++