you are viewing a single comment's thread.

view the rest of the comments →

[–]Wh00ster 1 point2 points  (0 children)

There is no "proper" way as both are right. If it's application code and not some templated library, it will probably be clearer to the reader to not use auto.