Stan Math Library
4.9.0
Automatic Differentiation
|
auto stan::math::make_unsafe_chainable_ptr | ( | T && | obj | ) |
Store the given object in a chainable_object
so it is destructed only when the chainable stack memory is recovered and return a pointer to the underlying object This function differs from make_chainable_object
in that this class does not evaluate expressions.
T | type of object to hold |
obj | object to hold |
chainable_object
Definition at line 113 of file chainable_object.hpp.