Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Struct template is_fundamental

boost::compute::is_fundamental

Synopsis

// In header: <boost/compute/type_traits/is_fundamental.hpp>

template<typename T> 
struct is_fundamental : public false_type {
};

Description

Meta-function returning true if T is a fundamental (i.e. built-in) type.

For example,

is_fundamental<float>::value == true
is_fundamental<std::pair<int, float>>::value == false


PrevUpHomeNext