has_data_method

has_data_method struct

Checks if a type has data() method. If it does, inherits std::true_type, otherwise inherits std::false_type.

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

Template parameters

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

See Also