CXXR (C++ R) API
|
Object constraining lifetime of ProtectStack entries. More...
#include <ProtectStack.h>
Additional Inherited Members | |
Public Member Functions inherited from CXXR::NodeStack::Scope | |
Scope (NodeStack *stack) | |
Constructor. |
Object constraining lifetime of ProtectStack entries.
Scope objects must be declared on the processor stack (i.e. as C++ automatic variables). Any entry pushed onto the ProtectStack during the lifetime of a Scope object will be automatically popped off when that lifetime comes to an end, i.e. when the Scope object itself goes out of scope.