Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.6.0-beta
-
None
-
Windows 7
-
ba75725a7a6855538a1a5516786440e5ab189f93
Description
Up to Creator 2.5.2 this works :
struct MyStruct
{
double a;
QString b;
}
int main(int argc, char *argv[])
{
QVector<MyStruct> v;
v.at(0). // would show the member list (a,b) of MyStruct
QVector<MyStruct*> pv;
pv.at(0). // would turn the . into -> and show the member list of MyStruct
}
In Creator 2.6 betas this no longer works. This also affects QList.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-7768 Template instantiation not handled in return value
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-7964 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
36535,4 | C++: fix member rewriting when doing template instantiation. | 2.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
36573,1 | C++: fix member rewriting when doing template instantiation. | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 |