![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Handles single element (moving rvalue non-expressions to heap) for construction of holder
or holder_cl
from a functor.
Rvalue non-expression is moved to heap and the pointer to heap memory is assigned to res and returned in a tuple.
T | type of the element |
a | element to handle |
res | resulting pointer to element |
Definition at line 303 of file holder.hpp.