Fixed to work with generalized iterators.
Fixed to work with generalized iterators.

git-svn-id: 273b07cebdae5845b4a75aae04570b978db9eb50@108359 91177308-0d34-0410-b5e6-96231b3b80d8

lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx