`const auto& obj` would be better.