Use auto keyword in C++11

Now compile your program with

g++ -std=c++11 your_file.cpp -o main
原文地址:https://www.cnblogs.com/grandyang/p/4505849.html