operator()()
Contents
[
Hide
]ComparerType< SharedPtr< T > >::operator()(const System::SharedPtr<Q>&, const System::SharedPtr<Q>&) const method
Compares pointer types implementing IComparable interface.
template<typename Q> std::enable_if<std::is_base_of<System::IComparable<System::SharedPtr<Q>>, Q>::value||has_method_compareto_shared_ptr<Q>::value, bool>::type System::Collections::Generic::Details::ComparerType<SharedPtr<T>>::operator()(const System::SharedPtr<Q> &a, const System::SharedPtr<Q> &b) const
Template parameters
Parameter | Description |
---|---|
Q | Type to compare. |
Arguments
Parameter | Type | Description |
---|---|---|
a | const System::SharedPtr<Q>& | LHS value. |
b | const System::SharedPtr<Q>& | RHS value. |
Return Value
True if a is considered less than b, false otherwise.
ComparerType< SharedPtr< T > >::operator()(const System::SharedPtr<Q>&, const System::SharedPtr<Q>&) const method
Compares pointer types not implementing IComparable interface.
template<typename Q> std::enable_if<!(std::is_base_of<System::IComparable<System::SharedPtr<Q>>, Q>::value||has_method_compareto_shared_ptr<Q>::value), bool>::type System::Collections::Generic::Details::ComparerType<SharedPtr<T>>::operator()(const System::SharedPtr<Q> &a, const System::SharedPtr<Q> &b) const
Template parameters
Parameter | Description |
---|---|
Q | Type to compare. |
Arguments
Parameter | Type | Description |
---|---|---|
a | const System::SharedPtr<Q>& | LHS value. |
b | const System::SharedPtr<Q>& | RHS value. |
Return Value
True if a is considered less than b, false otherwise.
See Also
- Typedef SharedPtr
- Class IComparable
- Struct has_method_compareto_shared_ptr
- Struct ComparerType< SharedPtr< T > >
- Namespace System::Collections::Generic::Details
- Library Aspose.Slides