Panzer Version of the Day
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
panzer::Expr::TernaryResultType< C, A, B > Struct Template Reference

#include <Panzer_ExprEval_impl.hpp>

Inheritance diagram for panzer::Expr::TernaryResultType< C, A, B >:
Inheritance graph
[legend]

Public Types

using biggest_ab_type = typename std::conditional<(b_rank > a_rank), B, A>::type
 
using biggest_type = typename std::conditional<(c_rank > biggest_ab_type::rank), C, biggest_ab_type>::type
 
using type = typename RebindViewType<biggest_type, typename A::const_value_type>::type
 
using non_const_type = typename RebindViewType<biggest_type, typename A::non_const_value_type>::type
 

Static Public Attributes

static constexpr size_t a_rank = A::rank
 
static constexpr size_t b_rank = B::rank
 
static constexpr size_t c_rank = C::rank
 

Detailed Description

template<typename C, typename A, typename B>
struct panzer::Expr::TernaryResultType< C, A, B >

Definition at line 232 of file Panzer_ExprEval_impl.hpp.

Member Typedef Documentation

◆ biggest_ab_type

template<typename C , typename A , typename B >
using panzer::Expr::TernaryResultType< C, A, B >::biggest_ab_type = typename std::conditional<(b_rank > a_rank), B, A>::type

Definition at line 236 of file Panzer_ExprEval_impl.hpp.

◆ biggest_type

template<typename C , typename A , typename B >
using panzer::Expr::TernaryResultType< C, A, B >::biggest_type = typename std::conditional<(c_rank > biggest_ab_type::rank), C, biggest_ab_type>::type

Definition at line 237 of file Panzer_ExprEval_impl.hpp.

◆ type

template<typename C , typename A , typename B >
using panzer::Expr::TernaryResultType< C, A, B >::type = typename RebindViewType<biggest_type, typename A::const_value_type>::type

Definition at line 238 of file Panzer_ExprEval_impl.hpp.

◆ non_const_type

template<typename C , typename A , typename B >
using panzer::Expr::TernaryResultType< C, A, B >::non_const_type = typename RebindViewType<biggest_type, typename A::non_const_value_type>::type

Definition at line 239 of file Panzer_ExprEval_impl.hpp.

Member Data Documentation

◆ a_rank

template<typename C , typename A , typename B >
constexpr size_t panzer::Expr::TernaryResultType< C, A, B >::a_rank = A::rank
staticconstexpr

Definition at line 233 of file Panzer_ExprEval_impl.hpp.

◆ b_rank

template<typename C , typename A , typename B >
constexpr size_t panzer::Expr::TernaryResultType< C, A, B >::b_rank = B::rank
staticconstexpr

Definition at line 234 of file Panzer_ExprEval_impl.hpp.

◆ c_rank

template<typename C , typename A , typename B >
constexpr size_t panzer::Expr::TernaryResultType< C, A, B >::c_rank = C::rank
staticconstexpr

Definition at line 235 of file Panzer_ExprEval_impl.hpp.


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