Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
Qt Creator 3.6.1
-
None
-
Windows 7
Description
Tested unique_ptr, shared_ptr, and weak_ptr and autocomplete only works for 1 out of 6 member access operators.
(*ptr). is included for completeness although it is probably much less common than the overloaded -> operator
std::unique_ptr<Foo> uptr(new Foo());
qDebug() << uptr->bar(); // Autocomplete fails
qDebug() << (*uptr).bar(); // Autocomplete fails
std::shared_ptr<Foo> sptr(new Foo());
qDebug() << sptr->bar(); // Autocomplete works
qDebug() << (*sptr).bar(); // Autocomplete fails
std::weak_ptr<Foo> wptr(new Foo());
qDebug() << wptr->bar(); // Autocomplete fails
qDebug() << (*wptr).bar(); // Autocomplete fails