Stan Math Library
5.0.0
Automatic Differentiation
|
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.
T | type of the element |
a | element to handle |
res | resulting pointer to element |
Definition at line 261 of file holder.hpp.