has_method_compareto_shared_ptr

has_method_compareto_shared_ptr struct

Checks whether CompareTo(SharedPtr) 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_shared_ptr : public std::false_type

Template parameters

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

See Also