blaze::IsBuiltin< T > Struct Template Reference

Compile time check for built-in data types.This type trait tests whether or not the given template parameter is a built-in/fundamental data type. In case the type is a built-in type, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType. More...

#include <IsBuiltin.h>

Inherits Type< T >.

Detailed Description

template<typename T>
struct blaze::IsBuiltin< T >

Compile time check for built-in data types.

This type trait tests whether or not the given template parameter is a built-in/fundamental data type. In case the type is a built-in type, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.

blaze::IsBuiltin<short volatile> // Is derived from TrueType
blaze::IsBuiltin<int*>::Type // Results in FalseType
blaze::IsBuiltin<int&> // Is derived from FalseType

The documentation for this struct was generated from the following file: