Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | List of all members
Sacado::Promote< A, B, typename mpl::enable_if_c< !mpl::is_convertible< A, B >::value &&!mpl::is_convertible< B, A >::value &&IsExpr< A >::value &&IsExpr< B >::value &&mpl::is_same< typename BaseExprType< typename A::value_type >::type, typename BaseExprType< typename B::value_type >::type >::value >::type > Struct Template Reference

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
 

Detailed Description

template<typename A, typename B>
struct Sacado::Promote< A, B, typename mpl::enable_if_c< !mpl::is_convertible< A, B >::value &&!mpl::is_convertible< B, A >::value &&IsExpr< A >::value &&IsExpr< B >::value &&mpl::is_same< typename BaseExprType< typename A::value_type >::type, typename BaseExprType< typename B::value_type >::type >::value >::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)


The documentation for this struct was generated from the following file: