1 #ifndef STAN_MATH_PRIM_SCAL_META_SCALAR_TYPE_PRE_HPP 2 #define STAN_MATH_PRIM_SCAL_META_SCALAR_TYPE_PRE_HPP 9 template <
bool is_vec,
typename T,
typename T_container>
10 struct scalar_type_helper_pre {
11 typedef T_container type;
14 template <
typename T,
typename T_container>
15 struct scalar_type_helper_pre<true, T, T_container> {
17 scalar_type_helper_pre<is_vector<typename stan::math::value_type<T>::type>
scalar_type_helper_pre< is_vector< typename stan::math::value_type< T >::type >::value, typename stan::math::value_type< T >::type, T >::type type
Metaprogram structure to determine the type of first container of the base scalar type of a template ...
Primary template class for metaprogram to compute the type of values stored in a container.