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++/34406] [reject valid?] incomplete type 'Y' used in nested name specifier.



------- Comment #3 from bangerth at dealii dot org  2008-01-13 16:31 -------
(In reply to comment #2)
> i'd ask why the first code is invalid?
> class Y looks pretty complete so why typedef expression throws an error?

A class is complete at the closing brace. You use it before that.

W.


-- 


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


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