Template Struct has_type

Struct Documentation

template<typename F, typename T>
struct has_type

Find if a type is present in the typelist. Eg: has_type<int, list<int, char, float>>{} == true has_type<long, list<int, char, float>>{} == false