c++11 - use auto