AbstractAlthough the C++ programming language is derived from C, it has a fundamentally different formulation of scope. This paper describes the scope structure of C++ and outlines approaches to two of C++'s special translation problems: representing scope in the symbol table and determining destructor activation sequences on scope exit. The solutions presented are based on the operational view of scope in C++ as a collection of interrelated scope objects.
展开▼