refactor: use shared Iterator type in iter/cugmean
#12497
+1
−4
Draft