Should be a const auto& to avoid the copies.