1#ifndef STAN_MATH_PRIM_META_TUPLE_SIZE_HPP
2#define STAN_MATH_PRIM_META_TUPLE_SIZE_HPP
16template <
typename T,
typename =
void>
17struct tuple_size : std::integral_constant<std::size_t, 0> {};
21 : std::integral_constant<std::size_t, std::tuple_size_v<std::decay_t<T>>> {
constexpr std::size_t tuple_size_v
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Equivalent to std::tuple_size but returns 0 T is not a tuple.