operator<()
Contents
[
Hide
]SmartPtr::operator<(Y *) const method
Provides less-compare semantics for SmartPtr class.
template<class Y> bool System::SmartPtr<T>::operator<(Y *p) const
Template parameters
Parameter | Description |
---|---|
Y | Type of pointer to compare current one to. |
Arguments
Parameter | Type | Description |
---|---|---|
p | Y * | Pointer to compare current one to. |
Return Value
True if the object referenced by SmartPtr is ’less’ than p and false otherwise.
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
Template parameters
Parameter | Description |
---|---|
Y | Type of pointer to compare current one to. |
Arguments
Parameter | Type | Description |
---|---|---|
x | SmartPtr<Y> const& | Pointer to compare current one to. |
Return Value
True if the object referenced by SmartPtr is ’less’ than x and false otherwise.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.Slides