why not 
```
for(const auto& user : users) {
```
?