Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 5.0.0-beta1
Description
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() {}
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-28569 [add definition] for defaulted functions
- Closed