Sacado Development
Loading...
Searching...
No Matches
Sacado::Promote< A, B, typename mpl::enable_if_c< std::is_convertible< A, B >::value &&std::is_convertible< B, A >::value &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type > Struct Template Reference

Specialization of Promote when A and B are convertible to each other, and one of them is an expression. More...

#include <Sacado_Traits.hpp>

Inheritance diagram for Sacado::Promote< A, B, typename mpl::enable_if_c< std::is_convertible< A, B >::value &&std::is_convertible< B, A >::value &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type >:
Collaboration diagram for Sacado::Promote< A, B, typename mpl::enable_if_c< std::is_convertible< A, B >::value &&std::is_convertible< B, A >::value &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type >:

Public Types

typedef BaseExprType< A >::type A_base_fad_type
typedef BaseExprType< B >::type B_base_fad_type
typedef Promote< A_base_fad_type, B_base_fad_type >::type type

Detailed Description

template<typename A, typename B>
struct Sacado::Promote< A, B, typename mpl::enable_if_c< std::is_convertible< A, B >::value &&std::is_convertible< B, A >::value &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type >

Specialization of Promote when A and B are convertible to each other, and one of them is an expression.


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