Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.0.0, Qt Creator 3.0.1, Qt Creator 3.1.0-beta
-
None
-
All.
Description
When using std::unique_ptr auto completion, syntax highlighting, and follow symbol under cursor do not work for the template type.
std::unique_ptr<MyClass> pMyClass( new MyClass() );
pMyClass.get(); // unique_ptr fields/methods work
pMyClass->SomeMethod() // does not work
pMyClass->mMyField; // does not work
The code will compile fine however the IDE does not understand what is inside the unique_ptr.
Strangely, shared_ptr works fine.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-8937 Code Completion can not support std::unique_ptr
- Closed