Stan Math Library
4.9.0
Automatic Differentiation
|
auto stan::math::make_holder_cl | ( | const T & | func, |
Args &&... | args | ||
) |
Constructs an expression from given arguments using given functor.
This is similar to calling the functor with given arguments. Except that any rvalue argument will be moved to heap first. The arguments moved to heap are deleted once the expression is destructed.
T | type of functor |
Args | types of arguments |
func | the functor |
args | arguments for the functor |
Definition at line 125 of file holder_cl.hpp.