Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
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>

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.

Definition at line 142 of file Sacado_Traits.hpp.

Member Typedef Documentation

template<typename A , typename B >
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 &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type >::A_base_fad_type

Definition at line 149 of file Sacado_Traits.hpp.

template<typename A , typename B >
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 &&!std::is_same< A, B >::value &&(IsExpr< A >::value||IsExpr< B >::value) >::type >::B_base_fad_type

Definition at line 150 of file Sacado_Traits.hpp.

template<typename A , typename B >
typedef Promote< A_base_fad_type, B_base_fad_type >::type 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 >::type

Definition at line 151 of file Sacado_Traits.hpp.


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