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

2025-03-11


3005. Function parameters should never be name-independent

Section: 6.4.1  [basic.scope.scope]     Status: open     Submitter: Jan Schultke     Date: 2025-03-10

(From submission #681.)

According to P2169R4 (A nice placeholder with no name):

In Varna, EWG decided not to support function parameter names and requires clauses param-eter as these can remained unamed without semantics differences.

However, the normative wording does permit function parameters to be name-independent, contrary to the express design intent.

Suggested resolution:

Change in 6.4.1 [basic.scope.scope] bullet 5.1 as follows:

A declaration is name-independent if its name is _ (u+005f low line) and it declares