This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2023-01-15


1200. Lookup rules for template parameters

Section: 6.5.3  [basic.lookup.unqual]     Status: CD6     Submitter: Johannes Schaub     Date: 2010-09-18

[Accepted at the November, 2020 meeting as part of paper P1787R6 and moved to DR at the February, 2021 meeting.]

Although 6.4.9 [basic.scope.temp] now describes the scope of a template parameter, the description of unqualified name lookup in 6.5.3 [basic.lookup.unqual] do not cover uses of template parameter names. The note in 6.5.3 [basic.lookup.unqual] paragraph 16 says,

the rules for name lookup in template definitions are described in 13.8 [temp.res].

but the rules there cover dependent and non-dependent names, not template parameters themselves.