boost::compute::is_fundamental
// In header: <boost/compute/type_traits/is_fundamental.hpp> template<typename T> struct is_fundamental : public false_type { };
Meta-function returning true if T is a fundamental (i.e. built-in) type.
true
T
For example,
is_fundamental<float>::value == true is_fundamental<std::pair<int, float>>::value == false