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++/9154] [3.4 regression] poor error message for ">>" vs. "> >" for nested template args


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From bangerth at dealii dot org  2003-06-20 14:13 -------
Giovanni, I don't have time to check with your patch at present, but
how does the patch act if presented with code like

  template <int> struct A{};
  template <typename> struct B {};

  B<A< 1>>2 > > b;

or, even weirder (needs two tokens lookahead):
  const int x = 0;
  B<A< 1>>x > > c;

W.


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