Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 4.4.0-beta1
-
Gentoo Linux AMD64
Qt Creator 4.4.0 beta1 installed from: https://download.qt.io/development_releases/qtcreator/4.4/4.4.0-beta1/qt-creator-opensource-linux-x86_64-4.4.0-beta1.run
Description
(Using the clang code model.)
Completion for constructor arguments when using std::make_unique does not work. Example:
#include <memory>
#include <string>
// ...
auto str_ptr = std::make_unique<std::string>(
It would be nice if the code model could deduce that in this case, the arguments to make_unique are equivalent to a ctor call for std::string.