System::Text::Json::Serialization::Metadata::UnboxRef method
Contents
[
Hide
]System::Text::Json::Serialization::Metadata::UnboxRef(const SmartPtr<Object>&) method
Unboxes a boxed value type to a mutable reference allowing in-place modification of the boxed value. Supports BoxedValue
template<class T> std::enable_if<!std::is_enum<T>::value &&IsBoxable<T>::value &&!std::is_base_of<Object, T>::value, T &>::type System::Text::Json::Serialization::Metadata::UnboxRef(const SmartPtr<Object> &obj)
| Parameter | Description |
|---|---|
| T | Value type not derived from Object. |
| Parameter | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Object to unbox. |
ReturnValue
Mutable reference to the stored value.
See Also
- Class Object
- Class SmartPtr
- Namespace System::Text::Json::Serialization::Metadata
- Library Aspose.TeX for C++
System::Text::Json::Serialization::Metadata::UnboxRef(const SmartPtr<Object>&) method
Unboxes a boxed value type to a mutable reference allowing in-place modification of the boxed value. Supports both BoxedValue
template<class T> std::enable_if<!std::is_enum<T>::value &&IsBoxable<T>::value &&std::is_base_of<Object, T>::value, T &>::type System::Text::Json::Serialization::Metadata::UnboxRef(const SmartPtr<Object> &obj)
| Parameter | Description |
|---|---|
| T | Value type derived from Object. |
| Parameter | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Object to unbox. |
ReturnValue
Mutable reference to the stored value.
See Also
- Class Object
- Class SmartPtr
- Namespace System::Text::Json::Serialization::Metadata
- Library Aspose.TeX for C++