![]() |
Stan
2.5.0
probability, sampling & optimization
|
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan is managed along with the arena allocator for the gradient calculation. More...
#include <var_stack.hpp>
Public Member Functions | |
| chainable_alloc () | |
| virtual | ~chainable_alloc () |
A chainable_alloc is an object which is constructed and destructed normally but the memory lifespan is managed along with the arena allocator for the gradient calculation.
A chainable_alloc should never be created on the stack, only with a new call.
Definition at line 31 of file var_stack.hpp.
|
inline |
Definition at line 33 of file var_stack.hpp.
|
inlinevirtual |
Definition at line 36 of file var_stack.hpp.