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

2024-05-06


2857. Argument-dependent lookup with incomplete class types

Section: 6.5.4  [basic.lookup.argdep]     Status: DR     Submitter: Lewis Baker     Date: 2024-02-08

[Accepted as a DR at the March, 2024 meeting.]

Subclause 6.5.4 [basic.lookup.argdep] bullet 3.2 specifies:

It is unclear what happens if T is incomplete, for example because it was instantiated from a template whose definition was not (yet) available.

Proposed resolution (approved by CWG 2024-03-01)

Change in 6.5.4 [basic.lookup.argdep] bullet 3.2 as follows: