Refactor signature expands template
已回答
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?
请先登录再写评论。
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.