This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | Sacado |
Classes | |
| struct | Sacado::Promote< A, B > |
| Base template specification for Promote. More... | |
| struct | Sacado::Promote< A, A > |
| Specialization of Promote for a single type. More... | |
| struct | Sacado::ScalarType< T > |
| Base template specification for ScalarType. More... | |
| struct | Sacado::ValueType< T > |
| Base template specification for ValueType. More... | |
| struct | Sacado::ScalarValueType< T > |
| Base template specification for ScalarValueType. More... | |
| struct | Sacado::IsADType< T > |
| Base template specification for IsADType. More... | |
| struct | Sacado::IsScalarType< T > |
| Base template specification for IsScalarType. More... | |
| struct | Sacado::Value< T > |
| Base template specification for Value. More... | |
| struct | Sacado::MarkConstant< T > |
| Base template specification for marking constants. More... | |
Defines | |
| #define | SACADO_PROMOTE_SPECIALIZATION(type1, type2, type3) |
| Specialization of Promote to builtin types. | |
| #define | SACADO_BUILTIN_SPECIALIZATION(t) |
| Specialization of above classes to builtin types. | |
| #define SACADO_PROMOTE_SPECIALIZATION | ( | type1, | |||
| type2, | |||||
| type3 | ) |
Value:
template <> struct Promote< type1, type2 > { \ typedef type3 type; \ }; \ template <> struct Promote< type2, type1 > { \ typedef type3 type; \ };
Definition at line 69 of file Sacado_Traits.hpp.
| #define SACADO_BUILTIN_SPECIALIZATION | ( | t | ) |
Value:
template <> struct ScalarType< t > { \ typedef t type; \ }; \ template <> struct ValueType< t > { \ typedef t type; \ }; \ template <> struct ScalarValueType< t > { \ typedef t type; \ }; \ template <> struct IsADType< t > { \ static const bool value = false; \ }; \ template <> struct IsScalarType< t > { \ static const bool value = true; \ }; \ template <> struct Value< t > { \ static const t& eval(const t& x) { return x; } \ };
Definition at line 132 of file Sacado_Traits.hpp.
1.4.7