Pass address of iterators
Merge pull request #6578 from wmtan/PassAddressOfIterators

Pass address of iterators