Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 &&mpl::is_convertible< B, typename BaseExprType< typename A::value_type >::type >::value >::type > Struct Template Reference

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

#include <Sacado_Traits.hpp>

Public Types

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

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

Definition at line 160 of file Sacado_Traits.hpp.

Member Typedef Documentation

◆ type

template<typename A , typename B >
typedef BaseExprType<A>::type Sacado::Promote< A, B, typename mpl::enable_if_c< !mpl::is_convertible< A, B >::value &&!mpl::is_convertible< B, A >::value &&IsExpr< A >::value &&mpl::is_convertible< B, typename BaseExprType< typename A::value_type >::type >::value >::type >::type

Definition at line 167 of file Sacado_Traits.hpp.


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