This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118f. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-11-07
[Accepted as a DR at the March, 2024 meeting.]
Subclause 6.5.4 [basic.lookup.argdep] bullet 3.2 specifies:
- ...
- If T is a class type (including unions), its associated entities are:the class itself; the class of which it is a member, if any; and itsdirect and indirect base classes. ...
- ...
It is unclear what happens ifT is incomplete, for examplebecause 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:
- ...
- If T is a class type (including unions), its associated entitiesare: the class itself; the class of which it is a member, if any;and, if it is a complete type, its direct and indirect baseclasses. ...
- ...