Call func(element, userdata) for each element of this, in order.
func
userdata
set
TpIntFunc to use to iterate the set
TpIntFunc
user data to pass to each call of func