This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See for the official list.


1258. “Instantiation context” differs from dependent lookup rules

Section:  [temp.point]     Status: CD5     Submitter: Nikolay Ivchenkov     Date: 2011-03-10

C++11 expanded the lookup rules for dependent function calls ( [temp.dep.candidate] bullet 1.2) to include functions with internal linkage; previously only functions with external linkage were considered. However, [temp.point] paragraph 6 still says,

The instantiation context of an expression that depends on the template arguments is the set of declarations with external linkage declared prior to the point of instantiation of the template specialization in the same translation unit.

Presumably this wording was overlooked and should be harmonized with the new specification.

Additional note (February, 2022):

The quoted paragraph was removed by P1103R3 (Merging Modules), approved 2019-02.