All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Groups
index_type.hpp
Go to the documentation of this file.
#ifndef STAN_MATH_PRIM_SCAL_META_INDEX_TYPE_HPP
#define STAN_MATH_PRIM_SCAL_META_INDEX_TYPE_HPP
namespace stan {
namespace math {
template <typename T>
struct index_type {
};
template <typename T>
struct index_type<const T> {
typedef typename index_type<T>::type type;
};
}
}
#endif
stan::math::index_type
Primary template class for the metaprogram to compute the index type of a container.
Definition: index_type.hpp:19
stan::math::index_type< const T >::type
index_type< T >::type type
Definition: index_type.hpp:31

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