Movatterモバイル変換


[0]ホーム

URL:


Issue 85 - WG21 CWG Issues
Title
Redeclaration of member class
Status
tc1
Section
6.5.6 [basic.lookup.elab]
Submitter
Steve Adamczyk

Created on1999-01-25.00:00:00 last changed277 months ago

Messages

msg440 (view)
Date: 2000-10-15.00:00:00

Proposed resolution (10/00): Remove the line

        struct Data;                //OK: Redeclares nestedData

See alsoCore issue 36 andCore issue 56.

msg104 (view)
Date: 2022-11-20.07:54:16

In6.5.6 [basic.lookup.elab]paragraph 3, there is the example

    struct Base {        // ...        struct Data { /* ... */ };  //Defines nestedData        struct Data;                //OK: Redeclares nestedData    };
The final redeclaration is invalid according to11.4 [class.mem] paragraph 1 last sentence.

Proposed resolution (10/00): Remove the line

        struct Data;                //OK: Redeclares nestedData

See alsoCore issue 36 andCore issue 56.

History
DateUserActionArgs
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-11-18 00:00:00adminsetmessages: +msg440
2000-11-18 00:00:00adminsetstatus: ready -> dr
2000-05-21 00:00:00adminsetstatus: drafting -> ready
2000-02-23 00:00:00adminsetstatus: open -> drafting
1999-01-25 00:00:00admincreate

[8]ページ先頭

©2009-2026 Movatter.jp