5.6.4 Expression Binding Contexts

An expression may perform name lookup using one of the following binding contexts:

  • The default binding context. This is the binding context used by most expressions.

  • The type binding context. This is the binding context used by expressions that expect to reference a type or class name.

  • The procedure pointer binding context. This is the binding context used by expressions that expect to return a pointer to a procedure.

  • The conditional compilation binding context. This is the binding context used by expressions within conditional compilation statements.

Unless otherwise specified, expressions use the default binding context to perform name lookup.

Show: