-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
Qt Creator 2.0.1
-
None
If you import a single class with a using directive QtCreator is unable to provide autocompletion.
For example, this works:
#include <vector>
using namespace std;
void main()
{
vector blubb;
cout << blubb.size(); // using autocompletion for .size()
}
While this doesn't work:
#include <vector>
using std::vector;
void main()
{
vector blubb;
cout << blubb.size(); // no autocompletion available
}
- is replaced by
-
QTCREATORBUG-2668 C++ support does not correctly interpret the 'using' keyword when used with a class instead of a namespace within function scope
-
- Closed
-