30 #ifndef SACADO_CACHEFAD_VIEWFADTRAITS_HPP
31 #define SACADO_CACHEFAD_VIEWFADTRAITS_HPP
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::CacheFad::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_CACHEFAD_VIEWFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
static std::string eval()
static std::string eval()
Base template specification for ScalarValue.
Base template specification for ScalarType.
static SACADO_INLINE_FUNCTION const value_type & eval(const CacheFad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for string names of types.
CacheFad::ViewFad< ValueT, Size, Stride, Base >::ScalarT type
Base template specification for IsADType.
static SACADO_INLINE_FUNCTION const scalar_type & eval(const CacheFad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for Value.
Base class for Sacado types to control overload resolution.
static SACADO_INLINE_FUNCTION bool eval(const CacheFad::ViewFad< ValueT, Size, Stride, Base > &x, const CacheFad::ViewFad< ValueT, Size, Stride, Base > &y)
Base template specification for testing equivalence.
Base template specification for IsScalarType.
GeneralFad< ViewStorage< T, static_length, static_stride, U > > ViewFad
#define SACADO_VFAD_PROMOTE_SPEC(NS)
#define SACADO_INLINE_FUNCTION
ScalarType< CacheFad::ViewFad< ValueT, Size, Stride, Base > >::type scalar_type
ValueType< CacheFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
Base template specification for ValueType.
ValueType< CacheFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
Base template specification for testing whether type is statically sized.