1 #ifndef STAN_MATH_PRIM_ARR_FUN_COMMON_TYPE_HPP 2 #define STAN_MATH_PRIM_ARR_FUN_COMMON_TYPE_HPP 5 #include <boost/math/tools/promotion.hpp> 18 template <
typename T1,
typename T2>
20 typedef std::vector<typename common_type<T1, T2>::type>
type;
std::vector< typename common_type< T1, T2 >::type > type
Struct which calculates type promotion given two types.