-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 5.0.0-beta1
-
4c3b55662 (master)
there's a small bug in the lovely "create implementation of member functions" feature where defaulted destructors won't be interpreted as implemented.
consider this code:
foo.h:
class foo
{
~foo();
};
the function "create implementation of member functions" will suggest to create a member function if the function, if the dtor defaulted:
foo.cpp:
foo::~foo() = default;
however when the dtor is implemented, it does not suggest to create the member function (which is the expected behaviour):
foo.cpp:
foo::~foo() {}
- is duplicated by
-
QTCREATORBUG-28569 [add definition] for defaulted functions
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-26090 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
666032,3 | CppEditor: Add proper support for defaulted and deleted functions | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |