This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-08-11
2857. Argument-dependent lookup with incomplete class typesSection: 6.5.4 [basic.lookup.argdep] Status: DRWP 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:
- ...
- 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. ...
- ...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4