Iterates all data items stored in this setting.
It is safe to add, remove, and modify data items inside func, though any additions or removals made during iteration will
not be part of the iteration.
| this | |
| func |
an user provided function |
| user_data |
data to be passed to |