To: J3 J3/25-175 From: generics Subject: Miscellaneous edits to incorporate templates Date: 2025-September-29 References: 25-007r1, 25-135r2, 25-136r2, 25-172, 25-173, 25--174, 25-140 1. Introduction =============== This is the 6th of 6 papers that provide edits for the approved syntax for templates. This paper describes various edits occurring outside the new new clause introduced in papers 1-5 that are necessary to incorporate the syntax and semantics for templates. 2. Misc edits for templates =========================== Clause 3: Terms and definitions -------------------------------- [5:5+] Insert new glossary term: "3.7.2b [deferred argument association] association between an instantiation argument and a deferred argument (Sec. ???)" [10:9+] Insert new glossary term "3.34.1 [deferred constant] a deferred argument with the PARAMETER attribute" [11:32+] Insert new glossary terms "3.46b [deferred argument] named entity that appears in a (R???) (Sec. ???)" [17:18+] Insert new glossary term "3.85b [instantiation argument] entity that determines deferred argument association" [24:3] 3.120 scoping unit: Change "or subprogram" to "subprogram, template construct, or requirement construct", such that the entire definition reads "BLOCK construct, derived-type definition, interface body, program unit (3.113), subprogram, template construct, or requirement construct, excluding all nested scoping units in it" [27:12] 3.139 subprogram: Change "or subroutine-subprogram (R1537)" to ", subroutine-subprogram (R1537), templated-function-subprogram, or templated-subroutine-subprogram", such that the entire definition now reads: " (R1532), (R1537), (R???), or (R???)" [32:16+] Insert new glossary term "3.151b [ultimately defined prior] an entity that is accessed by host association and whose definition appears before the scoping unit in which it is reference or is ultimately defined prior in the host scoping unit" Clause 5: Fortran concepts -------------------------- [44:20-28] In 5.1 High level syntax, extend R508 specification-construct to include new syntax terms: