30 #ifndef SACADO_ELRFAD_VIEWFADTRAITS_HPP
31 #define SACADO_ELRFAD_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::ELRFad::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_ELRFAD_VIEWFADTRAITS_HPP
static SACADO_INLINE_FUNCTION const T & eval(const T &x)
ValueType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type
static std::string eval()
static SACADO_INLINE_FUNCTION const value_type & eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x)
Base template specification for ScalarValue.
ELRFad::ViewFad< ValueT, Size, Stride, Base >::ScalarT type
Base template specification for ScalarType.
Base template specification for string names of types.
Base template specification for IsADType.
Base template specification for Value.
Base class for Sacado types to control overload resolution.
static std::string eval()
ScalarType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type scalar_type
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
static SACADO_INLINE_FUNCTION const scalar_type & eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x)
static SACADO_INLINE_FUNCTION bool eval(const ELRFad::ViewFad< ValueT, Size, Stride, Base > &x, const ELRFad::ViewFad< ValueT, Size, Stride, Base > &y)
Base template specification for ValueType.
Base template specification for testing whether type is statically sized.
ValueType< ELRFad::ViewFad< ValueT, Size, Stride, Base > >::type value_type