/Test/bug872494.cpp

http://github.com/fishman/ctags · C++ · 43 lines · 3 code · 2 blank · 38 comment · 0 complexity · 4d8186d886e6207f9873041ae90b3f36 MD5 · raw file

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