Blaze 3.9
blaze::Any< TypeTrait, T1, T2, Ts > Struct Template Reference

Compile time type check. More...

#include <Any.h>

Inherits blaze::IntegralConstant< T, N >.

Detailed Description

template<template< typename > class TypeTrait, typename T1, typename T2, typename... Ts>
struct blaze::Any< TypeTrait, T1, T2, Ts >

Compile time type check.

This type trait determines whether the given type trait TypeTrait evaluates to true for at least one of the given types Ts. If the expression

Or_t< TypeTrait<Ts>... >::value

evaluates to true, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType. Examples:

blaze::Any< IsCharacter, float, wchar_t > // Is derived from TrueType
blaze::Any< IsCharacter, int, double > // Is derived from FalseType
Compile time type check.
Definition: Any.h:85

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