Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::ref_type_if< Condition, T, require_all_kernel_expressions_t< T > > Struct Template Reference

Detailed Description

template<bool Condition, typename T>
struct stan::ref_type_if< Condition, T, require_all_kernel_expressions_t< T > >

Definition at line 59 of file ref_type.hpp.

#include <ref_type.hpp>

Public Types

using T_plain = plain_type_t< T >
 
using T_optionally_ref = std::conditional_t< std::is_rvalue_reference< T >::value, std::remove_reference_t< T >, const T & >
 
using type = std::conditional_t< internal::is_trivial_kg_expression< std::decay_t< T > >::value||!Condition, T_optionally_ref, T_plain >
 

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