Title
Redeclaring typedefs within classes
Status
tc1
Section
9.2.4 [dcl.typedef]
Submitter
Steve Adamczyk

Created on 1998-10-13.00:00:00 last changed 255 months ago

Messages

Date: 1999-04-15.00:00:00

Proposed Resolution (10/99): Change 9.2.4 [dcl.typedef] paragraph 2 from "In a given scope" to "In a given non-class scope."

Date: 2022-11-20.07:54:16

Can a typedef redeclaration be done within a class?

    class X {
        typedef int I;
        typedef int I;
    };
See also 11.4 [class.mem] , Core issue 36, and Core issue 85.

Proposed Resolution (10/99): Change 9.2.4 [dcl.typedef] paragraph 2 from "In a given scope" to "In a given non-class scope."

History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-02-23 00:00:00adminsetstatus: ready -> dr
1999-09-14 00:00:00adminsetmessages: + msg75
1999-09-14 00:00:00adminsetstatus: open -> ready
1998-10-13 00:00:00admincreate