System::SmartPtr::operator* method

SmartPtr::operator* method

Gets reference to pointed object. Asserts that pointer is not null.

Pointee_ & System::SmartPtr<T>::operator*() const

ReturnValue

Reference to pointed object.

See Also


title: System::SmartPtr::operator< method linktitle: operator< second_title: Aspose.TeX for C++ description: ‘System::SmartPtr::operator< method. Provides less-compare semantics for SmartPtr class in C++.’ type: docs weight: 2700 url: /cpp/system/smartptr/operator_/

SmartPtr::operator<(SmartPtr<Y> const&) const method

Provides less-compare semantics for SmartPtr class.

template<class Y> bool System::SmartPtr<T>::operator<(SmartPtr<Y> const &x) const
ParameterDescription
YType of pointer to compare current one to.
ParameterTypeDescription
xSmartPtr<Y> const&Pointer to compare current one to.

ReturnValue

True if the object referenced by SmartPtr is ’less’ than x and false otherwise.

See Also

SmartPtr::operator<(Y *) const method

Provides less-compare semantics for SmartPtr class.

template<class Y> bool System::SmartPtr<T>::operator<(Y *p) const
ParameterDescription
YType of pointer to compare current one to.
ParameterTypeDescription
pY *Pointer to compare current one to.

ReturnValue

True if the object referenced by SmartPtr is ’less’ than p and false otherwise.

See Also