#84 C++11 new using semantics

open
nobody
None
5
2013-11-20
2013-11-20
No

Here is a patch adding support for this new C++11 syntax:

using <Type> = <type definition>;

Apart from some template subtleties, this is totally equivalent to a typedef, at least as far as ctags is concerned. Thus, it is considered that in a SCOPE_USING (that I've added), if we have an assignment, it is a TAG_TYPEDEF. By checking for the assignment, we avoid mistaking a using namespace/using ns::id clause for a typedef.

Enjoy!

1 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks