Menu

#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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.