J
Jeff0803
Guest
We can use auto keyword in the iterator of the container or definition that includes an initializer like following.
for (auto p=v.begin(); p!=v.end(); ++p)
auto x = 123;
auto s = "San Francisco"
Then is the auto type safe? or not?
Continue reading...
for (auto p=v.begin(); p!=v.end(); ++p)
auto x = 123;
auto s = "San Francisco"
Then is the auto type safe? or not?
Continue reading...