next up previous contents
Next: The INHERIT Directive Up: Alignment Previous: Alignment

The Template of the Dummy Argument

 

Here we describe precisely how to determine the template with which the dummy argument is ultimately aligned:

Templates are not passed through the subprogram argument interface. A dummy argument and its corresponding actual argument may be aligned to the same template only if that template is accessible in both the caller and the called subprogram either through host association or use association. In any other case, the template with which a dummy argument is aligned is always distinct from the template with which the actual argument is aligned, though it may be a copy (see Section 4.4.2). On exit from a procedure, an HPF implementation arranges that the actual argument is aligned with the same template with which it was aligned before the call.

The template of the dummy argument is arrived at in one of three ways:


next up previous contents
Next: The INHERIT Directive Up: Alignment Previous: Alignment