Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.7.0, Qt Creator 2.8.0-beta
-
None
-
Linux Mint 13
-
13913ed3913eac8b5fd0d63e4706c44223f65e4b
Description
I will describe the problem on the example:
#include <string> using namespace std; struct A { typedef string Astring_t; }; template <class T> struct B { typedef typename T::Astring_t Bstring_t; }; struct C : public B<A> { void test() { Bstring_t aStr; aStr.c_str(); // HERE AUTOCOMPLETION AND HIGLIGHTING don't work } }; int main() {}
In the method C::test() the methods of object aStr are not autocompleted nor higlighted. In the example the object aStr is of origin type string and the c_str() method should be higlighted and be available as a completion in intellisense.
But it isn't.
Attachments
For Gerrit Dashboard: QTCREATORBUG-8375 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
53788,5 | C++: fix support for typedef of templated typedefs | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
54372,2 | C++: fix support for typedef of templated typedefs | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
55387,6 | WIP: C++: fix support for typedef of templated typedefs | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |
108037,1 | WIP: C++: fix support for typedef of templated typedefs | master | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
108471,2 | C++: Add some tests for typedef of templated typedefs | 3.4 | qt-creator/qt-creator | Status: ABANDONED | -1 | 0 |