has_print_to_method

has_print_to_method struct

Checks for overload of PrintTo function that accepts given type as first argument. If an overload exists, inherits std::true_type, otherwise inheirts std::false_type.

template<typename T,typename Enable>class has_print_to_method : public std::false_type

Template parameters

ParameterDescription
TType to check.
EnableFormal argument for SFINAE to work.

See Also