developing C++ in visual studio, is there a way to auto-format when using trailing return type?

Viewed 76
    1) auto Init()->void;
    2) auto Init() -> void;

in visual studio 2019/2022 When you press ctrl + K. ctrl + D, both cases are valid. But I would like to use method 2)

0 Answers
Related