This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-11-11
[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 its direct and indirect base classes. ...
- ...
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:
- ...
- 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, if it is a complete type, its direct and indirect base classes. ...
- ...