------- 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