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

◆ holder_handle_element() [1/3]

template<typename T >
auto stan::math::internal::holder_handle_element ( T &  a,
T *&  res 
)

Handles single element (moving rvalue non-expressions to heap) for construction of holder or holder_cl from a functor.

For lvalues or expressions just sets the res pointer.

Template Parameters
Ttype of the element
Parameters
aelement to handle
resresulting pointer to element
Returns
tuple of pointers allocated on heap (empty).

Definition at line 261 of file holder.hpp.