| Summary: | code completion does not work with inherited templates | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Armin Berres <armin> |
| Component: | Language Support: CPP (old) | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | 4.0.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
SVN commit 1002451 by apaku: Only re-run cmake with arguments if there's no CMakeCache.txt so we don't override things that the user changed externally or by editing the cache. BUG:200057 M +11 -5 cmakejob.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002451 |
Version: svn995594 (using KDE 4.2.96) Installed from: Compiled From Sources Consider the following code: #################################################################################### template <class T> class Array { public: void size() {} }; template <class T> class NamedArray : public Array<T> { public: void test() { this->size(); } }; #################################################################################### Kdevelop is not aware that this->size() is a member of the class Array and underlines the call red. One interesting thing is, that inheriting from "Array<int>" instead of "Array<T>" makes Kdevelop happy.