Stan Math Library
4.9.0
Automatic Differentiation
|
auto stan::math::make_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.
T | type of object to hold |
obj | object to hold |
chainable_object
Definition at line 58 of file chainable_object.hpp.