help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matching of template <> in C++ mode


From: rgb
Subject: Re: Matching of template <> in C++ mode
Date: 20 Feb 2007 05:04:09 -0800
User-agent: G2/1.0

> course it's a little more complicated since ideally it shoudn't think
> that << are 2 nested parentheses. However, since neither << or
> unmatched < as conditionals are allowed within template declarations,
> it would just give an annoying "unmatched paren" message in these
> cases. It would still be useful.)

Actually it would totally wreck real paren class matching.
The characters < and > are typically used all over and if
they had paren syntax then the parens in (x > y) would not
match any more.  The implementation would need to be careful
not to give < or > characters paren syntax except under the
specific template conditions you've described.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]