[sv-bc] empty typedefs

From: Francoise Martinolle <fm_at_.....>
Date: Wed Jul 26 2006 - 10:00:07 PDT
The LRM is not clear in the following cases:
 
   Can you have multiple identical empty typedefs of the same typename
in the same scope?
 
ex1:
   typedef class C;
   typedef class C;
 
Ex2:
   typedef C;
   typedef class C;
 
 
I assume that non identical typedefs should be an error:
    typedef enum C;
    typedef class C;
 
 
Also would the following be legal:
 
class C
endclass
 
typedef class C; // looks like it can be legal but it is not much of a
forward declaration!
 
 
Francoise
       '
Received on Wed Jul 26 10:00:37 2006

This archive was generated by hypermail 2.1.8 : Wed Jul 26 2006 - 10:01:03 PDT