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 &&IsExpr< B >::value &&std::is_convertible< A, typename BaseExprType< typename B::value_type >::type >::value >::type > Struct Template Reference

Specialization of Promote when B is an expression and A is convertible to its value-type, e.g., Promote< double, fad-expression > (using BaseExprType to remove ViewFad) More...

#include <Sacado_Traits.hpp>

Public Types

typedef BaseExprType< B >::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 &&IsExpr< B >::value &&std::is_convertible< A, typename BaseExprType< typename B::value_type >::type >::value >::type >

Specialization of Promote when B is an expression and A is convertible to its value-type, e.g., Promote< double, fad-expression > (using BaseExprType to remove ViewFad)

Definition at line 176 of file Sacado_Traits.hpp.

Member Typedef Documentation

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 &&IsExpr< B >::value &&std::is_convertible< A, typename BaseExprType< typename B::value_type >::type >::value >::type >::type

Definition at line 183 of file Sacado_Traits.hpp.


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