Add operator [] to c10::impl::ListIterator (#34926)
Summary:
This is causing failures on my Windows build
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34926
Differential Revision: D20501850
Pulled By: smessmer
fbshipit-source-id: 92c72dd657b27b1786952dbdccfceff99f4ba743