Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 14.0.2
-
None
-
3f6522c38 (master)
Description
*GIVEN* A class
<code>
class C
;
</code>
*WHEN* Placing the cursor inside the foo, hitting Alt-Enter and selecting "Add Definition Outside Class"
*THEN* The non-template-type-parameter (NTTP) std::size_t N is replaced by typename N in the definition:
*EXPECTED* The definition keeps the NTTP and doesn't replace it with typename.