value_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_ARR_META_VALUE_TYPE_HPP
#define STAN_MATH_PRIM_ARR_META_VALUE_TYPE_HPP
#include <stan/math/prim/scal/meta/value_type.hpp>
#include <vector>
namespace stan {
namespace math {
template <typename T>
struct value_type<std::vector<T> > {
typedef typename std::vector<T>::value_type type;
};
}
}
#endif
stan
Definition: log_sum_exp.hpp:8
std
Definition: std_numeric_limits.hpp:7
stan::math::value_type< std::vector< T > >::type
std::vector< T >::value_type type
Type of value stored in a standard vector with type T entries.
Definition: value_type.hpp:22
value_type.hpp
stan::math::value_type
Primary template class for metaprogram to compute the type of values stored in a container.
Definition: value_type.hpp:18

[ Stan Home Page ] © 2011–2016, Stan Development Team.