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 for the latest Boost documentation.
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 boost::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