PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/Test/bug872494.cpp

http://github.com/fishman/ctags
C++ | 43 lines | 3 code | 2 blank | 38 comment | 0 complexity | 4d8186d886e6207f9873041ae90b3f36 MD5 | raw file
Possible License(s): GPL-2.0
 1/*
 2Bugs item #872494, was opened at 2004-01-07 16:33
 3Message generated for change (Tracker Item Submitted) made by Item Submitter
 4You can respond by visiting: 
 5https://sourceforge.net/tracker/?func=detail&atid=106556&aid=872494&group_id=6556
 6
 7Category: None
 8Group: None
 9Status: Open
10Resolution: None
11Priority: 5
12Submitted By: Igor Proskuriakov (proskig)
13Assigned to: Nobody/Anonymous (nobody)
14Summary: C++ class template specialization
15
16Initial Comment:
17Hi, 
18some time ago I posted a bug related to C++ member 
19template, which was fixed using patch bug849591.diff. 
20Many thanks - it really fixed the problem ! 
21Now about a different one.
22When parsing C++ file ctags seems to ignore template 
23specialization, but I think that it maybe useful to add it 
24as a configurable feature. Another problem is that 
25template specialization seems to confuse patched 
26version of ctags (patch bug849591.diff). When running a 
27patched version against the following file
28*/
29template<class T> class TemplClass { double i;};
30
31template<> class TemplClass< char* > { int i;};
32
33class FooClass2{};
34/*
35it does not generate tag for FooClass2 while ctags 5.5.2 
36does generate tag for FooClass2. Neither of them 
37generate tag for specialization TemplClass<char *>.
38
39thanks in advance and let me know should you need 
40more info!
41
42Igor
43*/