Code style - pointer to pointer, reference to pointer...
Answered
I noticed that even if Editor->Code Style->C/C++->Spaces->Other->[After|Before] '[&*]' in declarations are all checked, expressions like char * & (in declarations or type casts) are squashed to char *&. That doesn't make sense - it's a reference to object, so it should still be formatted like object &, not object&, if I chose it in settings.
The same holds for char * *.
Of course, the best option would be adding an option for this spacing specifically.
Please sign in to leave a comment.
Hi, Jakub, thanks for reporting! I've created the issue in our tracker: https://youtrack.jetbrains.com/issue/CPP-13093. Feel free to comment or upvote, follow it to get updates.