CXXR (C++ R)
CXXR::ProtectStack::Scope Class Reference

Object constraining lifetime of ProtectStack entries. More...

#include <ProtectStack.h>

Inheritance diagram for CXXR::ProtectStack::Scope:
Inheritance graph
[legend]
Collaboration diagram for CXXR::ProtectStack::Scope:
Collaboration graph
[legend]

List of all members.

Additional Inherited Members

- Public Member Functions inherited from CXXR::NodeStack::Scope
 Scope (NodeStack *stack)
 Constructor.

Detailed Description

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.


The documentation for this class was generated from the following file: