TMB Documentation
v1.9.11
|
Operation stack. More...
#include <global.hpp>
Public Member Functions | |
void | clear () |
Clear the operation stack without freeing the container. | |
operation_stack () | |
Default CTOR. | |
operation_stack (const operation_stack &other) | |
Copy CTOR. | |
operation_stack & | operator= (const operation_stack &other) |
Copy assignment. | |
void | push_back (OperatorPure *x) |
Add new operator to this stack and update bitwise operator information. | |
Public Attributes | |
op_info | any |
Bitwise max of operator flags in this stack. | |
Operation stack.
Essentially just a vector of operations with some memory management on top.
resize(0)
wouldn't do the expected. Use clear()
instead. Definition at line 917 of file global.hpp.