Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ is_inner_tuple_type_v

template<std::size_t N, typename Tuple , typename CheckType >
constexpr bool stan::is_inner_tuple_type_v
inlineconstexpr
Initial value:
= std::is_same_v<
std::decay_t<CheckType>,
std::decay_t<std::tuple_element_t<N, std::decay_t<Tuple>>>>

Checks if the N-th element of a tuple is of the same type as CheckType.

Template Parameters
Nindex of the element to check
Tuplethe tuple type
CheckTypethe type to check against

Definition at line 82 of file is_tuple.hpp.