Public Member Functions | |
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 | operator() (const System::SharedPtr< Q > &a, const System::SharedPtr< Q > &b) const |
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 | operator() (const System::SharedPtr< Q > &a, const System::SharedPtr< Q > &b) const |
Compares elements using 'less' semantics.
T | Compared elements type. |
|
inline |
Compares pointer types implementing IComparable interface.
Q | Type to compare. |
a | LHS value. |
b | RHS value. |
a
is considered less than b
, false otherwise.
|
inline |
Compares pointer types not implementing IComparable interface.
Q | Type to compare. |
a | LHS value. |
b | RHS value. |
a
is considered less than b
, false otherwise.