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

◆ make_holder_cl_impl_step2()

template<typename T , std::size_t... Is, typename... Args>
auto stan::math::internal::make_holder_cl_impl_step2 ( T &&  expr,
std::index_sequence< Is... >  ,
const std::tuple< Args *... > &  ptrs 
)

Second step in implementation of construction holder_cl from a functor.

Template Parameters
Ttype of the result expression
Isindex sequence for ptrs
Argstypes of pointes to heap
Parameters
exprresult expression
ptrspointers to heap that need to be released when the expression is destructed
Returns
holder_cl referencing given expression

Definition at line 84 of file holder_cl.hpp.