Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Specialization of Promote when A and B are (different) expressions, with the same value type, e.g, Promote< fad-expr1, fad-expr2 > (using BaseExprType to remove ViewFad) More...
#include <Sacado_Traits.hpp>
Public Types | |
typedef BaseExprType< A >::type | A_base_expr_type |
typedef BaseExprType< B >::type | B_base_expr_type |
typedef Promote < A_base_expr_type, B_base_expr_type >::type | type |
Specialization of Promote when A and B are (different) expressions, with the same value type, e.g, Promote< fad-expr1, fad-expr2 > (using BaseExprType to remove ViewFad)
Definition at line 192 of file Sacado_Traits.hpp.
typedef BaseExprType<A>::type Sacado::Promote< A, B, typename mpl::enable_if_c< !std::is_convertible< A, B >::value &&!std::is_convertible< B, A >::value &&IsExpr< A >::value &&IsExpr< B >::value &&std::is_same< typename BaseExprType< typename A::value_type >::type, typename BaseExprType< typename B::value_type >::type >::value >::type >::A_base_expr_type |
Definition at line 201 of file Sacado_Traits.hpp.
typedef BaseExprType<B>::type Sacado::Promote< A, B, typename mpl::enable_if_c< !std::is_convertible< A, B >::value &&!std::is_convertible< B, A >::value &&IsExpr< A >::value &&IsExpr< B >::value &&std::is_same< typename BaseExprType< typename A::value_type >::type, typename BaseExprType< typename B::value_type >::type >::value >::type >::B_base_expr_type |
Definition at line 202 of file Sacado_Traits.hpp.
typedef Promote< A_base_expr_type, B_base_expr_type >::type Sacado::Promote< A, B, typename mpl::enable_if_c< !std::is_convertible< A, B >::value &&!std::is_convertible< B, A >::value &&IsExpr< A >::value &&IsExpr< B >::value &&std::is_same< typename BaseExprType< typename A::value_type >::type, typename BaseExprType< typename B::value_type >::type >::value >::type >::type |
Definition at line 203 of file Sacado_Traits.hpp.