Decoding Base Types to Show Structures
The Context Window also can determine the “base” structural type of a symbol by climbing up the type hierarchy. That is, typedefs are decoded all the way back to the base structure type. For example, if you have code like this:
struct S { ... }; typedef S T; typedef T *PT; PT ptvar; . . ptvar->foo....
If you select the foo in ptvar->foo, then the Context window will find the declaration of PT ptvar, and decode the type hierarchy until it finds the struct S, and it will display the declaration of the field foo within struct S.
The Context Window also decodes class hierarchies dynamically. That is, it will travel up the class derivation hierarchy looking for members that are in scope.