Effective programming language to build efficient, fast, reliable and safe software while maintaining simplicity
BSD 3-Clause "New" or "Revised" License
128
stars
13
forks
source link
style: use `auto` with `static_cast` #70
Closed
vil02 closed 7 months ago
Description
In these situations, explicitly describing the type of a defined variable is redundant. I suggest to use
auto
.Checklist
Screenshots (if any)
Note to reviewers
Use
auto
when a variable is defined as a result ofstatic_cast
.