30 #ifndef SACADO_ELRCACHEFAD_VIEWFADTRAITS_HPP
31 #define SACADO_ELRCACHEFAD_VIEWFADTRAITS_HPP
37 namespace ELRCacheFad {
38 template <
typename T,
unsigned,
unsigned,
typename>
class ViewFad;
48 template <typename ValueT,
unsigned Size,
unsigned Stride, typename
Base>
54 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
60 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
66 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
68 static const bool value =
false;
72 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
81 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
91 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
93 static std::string
eval() {
94 return std::string(
"Sacado::ELRCacheFad::ViewFad< ") +
99 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
104 return x.isEqualTo(y);
109 template <
typename ValueT,
unsigned Size,
unsigned Str
ide,
typename Base>
119 #endif // SACADO_FAD_DFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
Base template specification for string names of types.
Base template specification for IsADType.
static SACADO_INLINE_FUNCTION const value_type & eval(const ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > &x)
ScalarType< ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > >::type scalar_type
static SACADO_INLINE_FUNCTION bool eval(const ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > &x, const ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > &y)
Base template specification for Value.
ValueType< ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
Base class for Sacado types to control overload resolution.
ELRCacheFad::ViewFad< ValueT, Size, Stride, Base >::ScalarT type
static std::string eval()
Base template specification for testing equivalence.
Base template specification for IsScalarType.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > &x)
GeneralFad< ViewStorage< T, static_length, static_stride, U > > ViewFad
#define SACADO_VFAD_PROMOTE_SPEC(NS)
#define SACADO_INLINE_FUNCTION
ValueType< ELRCacheFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.