auto is just a convenient shortcut to simplify features like
VeryLongClassName *object = new VeryLongClassName();
Now it will be
auto *object = new VeryLongClassName();
No reason to write
auto a = 10; auto b = MyClass(); auto c = vector<int>();
because it is longer and harder to read than
int a = 10; MyClass b; vector<int> c;
source share