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
85. Redeclaration of member classSection: 6.5.6 [basic.lookup.elab] Status: TC1 Submitter: Steve Adamczyk Date: 25 Jan 1999In 6.5.6 [basic.lookup.elab] paragraph 3, there is the example
struct Base { // ... struct Data { /* ... */ }; // Defines nested Data struct Data; // OK: Redeclares nested Data };The final redeclaration is invalid according to 11.4 [class.mem] paragraph 1 last sentence.
Proposed resolution (10/00): Remove the line
struct Data; // OK: Redeclares nested Data
See also Core issue 36 and Core issue 56.
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