Refactor signature expands template
Answered
So i just used the refactor tool in CLion to refactor a function signature.
I changed a parameter type to a template class which was aliased via a using statement.
using MyType = MyTemplate<my_tag, int>;
I typed in MyType as the typename into the refactor box, but it expanded to the alias and place MyTemplate<mytag, int> in the function definition and declarations it changed.
Is this a bug or intended behaviour or an user changable option?
Please sign in to leave a comment.
Hi, Conrad.
We have a related issue in the tracker already: https://youtrack.jetbrains.com/issue/CPP-3157. Feel free to comment or upvote and sorry for the inconvenience.