Pass iterators by value for unordered containers