This is the mail archive of the gcc@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]

Re: New parser overly picky?


Hi,

your testcase is actually illformed. You have to write

    typedef typename foo<A>::template bar<int> bar_t;

instead of

    typedef typename foo<A>::bar<int> bar_t;

But I agree, that the error message is not very helpful.

Regards,
Volker



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