Eigen::internal::is_base_of< B, D > Struct Template Reference

#include <TensorMeta.h>

Classes

struct  Host
 

Public Types

typedef char(& yes)[1]
 
typedef char(& no)[2]
 

Static Public Member Functions

template<typename T >
static yes check (D *, T)
 
static no check (B *, int)
 

Static Public Attributes

static const bool value = sizeof(check(Host<B, D>(), int())) == sizeof(yes)
 

Member Typedef Documentation

◆ no

template<typename B , typename D >
typedef char(& Eigen::internal::is_base_of< B, D >::no)[2]

◆ yes

template<typename B , typename D >
typedef char(& Eigen::internal::is_base_of< B, D >::yes)[1]

Member Function Documentation

◆ check() [1/2]

template<typename B , typename D >
static no Eigen::internal::is_base_of< B, D >::check ( B ,
int   
)
static

◆ check() [2/2]

template<typename B , typename D >
template<typename T >
static yes Eigen::internal::is_base_of< B, D >::check ( D ,
T   
)
static

Member Data Documentation

◆ value

template<typename B , typename D >
const bool Eigen::internal::is_base_of< B, D >::value = sizeof(check(Host<B, D>(), int())) == sizeof(yes)
static

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