System::SmartPtr::operator= method
Contents
[
Hide
]SmartPtr::operator=(const SmartPtr<Q>&) method
Copy-assigns SmartPtr object. Does required type conversions.
template<typename Q> SmartPtr_ & System::SmartPtr<T>::operator=(const SmartPtr<Q> &x)
Parameter | Description |
---|---|
Q | Type of object pointed by x. |
Parameter | Type | Description |
---|---|---|
x | const SmartPtr<Q>& | Pointer to copy-assign. |
ReturnValue
Reference to this object.
See Also
- Typedef SmartPtr_
- Class SmartPtr
- Class SmartPtr
- Namespace System
- Library Aspose.PDF for C++
SmartPtr::operator=(const SmartPtr_&) method
Copy-assigns SmartPtr object.
SmartPtr_ & System::SmartPtr<T>::operator=(const SmartPtr_ &x)
Parameter | Type | Description |
---|---|---|
x | const SmartPtr_& | Pointer to copy-assign. |
ReturnValue
Reference to this object.
See Also
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.PDF for C++
SmartPtr::operator=(Pointee_ *) method
Assigns raw pointer to SmartPtr object.
SmartPtr_ & System::SmartPtr<T>::operator=(Pointee_ *p)
Parameter | Type | Description |
---|---|---|
p | Pointee_ * | Pointer value to assign. |
ReturnValue
Reference to this object.
See Also
- Typedef SmartPtr_
- Typedef Pointee_
- Class SmartPtr
- Namespace System
- Library Aspose.PDF for C++
SmartPtr::operator=(SmartPtr_&&) method
Move-assigns SmartPtr object. x becomes unusable.
SmartPtr_ & System::SmartPtr<T>::operator=(SmartPtr_ &&x) noexcept
Parameter | Type | Description |
---|---|---|
x | SmartPtr_&& | Pointer to move-assign. |
ReturnValue
Reference to this object.
See Also
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.PDF for C++
SmartPtr::operator=(std::nullptr_t) method
Sets pointer value to nullptr.
SmartPtr_ & System::SmartPtr<T>::operator=(std::nullptr_t)
ReturnValue
Reference to this object.
See Also
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.PDF for C++