Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
-
None
Description
Steps to reproduce:
- Have a C++ class with a .h and a .cxx file
- Add a method declaration in the header with constexpr
- Implement it with the Refactoring Tool "Add Definition in cxx"
- -> constexpr is not added in the cxx
// in .h Class ClassName { constexpr int test(); } // -> Refactor > Add Definition in cxx results in this, which will not compile int ClassName::test() { } // The correct code would be constexpr int ClassName::test() { }