That means loop control variable is initialized before the .... How to use a std:: string without copying?
stackoverflow.com