Iterate over all element of this and call the given function func for each element.
func
The Iterator to iterate
the function to call for each element.
user data passed to the function
the result call to fold. The iterator will not be freed.
MT safe.