[iter] Fix accumulate to accept const types
1 file changed