SPH
Static Public Attributes | List of all members
TypeIndex< T0, n, T1 > Struct Template Reference

#include <Traits.h>

Static Public Attributes

static constexpr int value = std::is_same<T0, T1>::value ? n : -1
 

Detailed Description

template<typename T0, int n, typename T1>
struct TypeIndex< T0, n, T1 >

Definition at line 36 of file Traits.h.

Member Data Documentation

◆ value

template<typename T0 , int n, typename T1 >
constexpr int TypeIndex< T0, n, T1 >::value = std::is_same<T0, T1>::value ? n : -1
staticconstexpr

Definition at line 37 of file Traits.h.


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