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

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

Messages

Date: 1999-04-15.00:00:00

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

Date: 2003-04-25.00:00:00

Can a typedef redeclaration be done within a class?

    class X { 
        typedef int I; 
        typedef int I; 
    };
See also 12.2 [class.mem] , Core issue 36, and Core issue 85.
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