![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
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.