blaze::IsPointer< T > Struct Template Reference

Compile time type check.This class tests whether the given template parameter is a pointer type (including function pointers, but excluding pointers to members) or not. If it is a pointer 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 <IsPointer.h>

Inherits Type< T >.

Detailed Description

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

Compile time type check.

This class tests whether the given template parameter is a pointer type (including function pointers, but excluding pointers to members) or not. If it is a pointer 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::IsPointer<int (*)(long)> // Is derived from TrueType
blaze::IsPointer<int (MyClass::*)(long)> // Is derived from FalseType

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