for (auto i = values.begin(); i != values.end(); ++i) {
Or if we want to go really crazy: for (auto i : values) { John