This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42490] using-directive in namespace doesn't work properly



------- Comment #1 from redi at gcc dot gnu dot org  2010-01-07 21:05 -------
I think the code is valid

3.4.4 [basic.lookup.elab]/1
An elaborated-type-specifier (7.1.6.3) may be used to refer to a
previously declared class-name or enum-name even though the name has
been hidden by a non-type declaration (3.3.10).


-- 

redi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-07 21:05:41
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42490


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]