has_method_compareto

has_method_compareto struct

Checks whether CompareTo method exists in specified type. If so, inherits std::true_type, otherwise inherits std::false_type. Can be used in std::enable_if.

template<typename T,typename Sfinae>class has_method_compareto : public std::false_type

Template parameters

ParameterDescription
TType to check for Equals method existance.
SfinaeFormal template argument for SFINAE to work.

See Also