obsolete method
speedup 'iter' live template. Dont need calc iter type for foreachvariablemacro