c++2011 right angle brackets - changing tokenstream or alternative?

Milian Wolff mail at milianw.de
Thu Jun 23 10:43:09 UTC 2011


Hey all,

I wonder what your take on the improved right angle bracket support in c++2011 
is:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html

The spec (14.2/3) clearly says now:

Similarly, the first non-nested >> is treated as two consecutive but distinct 
> tokens, the first of which is taken as the end of the template-argument-list 
and completes the template-id. [ Note: The second > token produced by this 
replacement rule may terminate an enclosing template-id construct or it may be 
part of a different construct (e.g., a cast). --end note ]

So I wonder: Should I also add such a replace functionality to the token 
stream or should I handle it differently?

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110623/cc2654e1/attachment.sig>


More information about the KDevelop-devel mailing list