|
|
|
|
|
by Rucadi
186 days ago
|
|
auto has a good perk, it prevents uninitialized values (Which is a source of bugs). For example: auto a; will always fail to compile not matter what flags. int a; is valid. Also it prevents implicit type conversions, what you get as type on auto is the type you put at the right. That's good. |
|