blaze::IsSame< A, B > Struct Template Reference

Type relationship analysis.This class tests if the two data types A and B are equal. For this type comparison, the cv-qualifiers of both data types are ignored. If A and B are the same data type (ignoring the cv-qualifiers), then 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 <IsSame.h>

Inherits Type< A, B >.

Detailed Description

template<typename A, typename B>
struct blaze::IsSame< A, B >

Type relationship analysis.

This class tests if the two data types A and B are equal. For this type comparison, the cv-qualifiers of both data types are ignored. If A and B are the same data type (ignoring the cv-qualifiers), then 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::IsSame<int,const int>::Type // Results in TrueType
blaze::IsSame<float,volatile float> // Is derived from TrueType
blaze::IsSame<int,double> // Is derived from FalseType

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