for_each flag_set
Draft to fix https://github.com/foonathan/type_safe/issues/100
for_each was made by a method, not a free function. I'm not sure what's best.
It is possible to make functions begin()/end(), but to do this will have to create a class reference and iterator like for vector<bool>.
Sorry for the delay, I'm busy with university stuff at the moment.
I think I prefer a begin()/end() interface with a proxy over the single function with callback. Would you be willing to try something like that out as well?
Thank you for your feedback.
Yes, I will try to make a solution with begin()/end().
I'll update this PR when I have something to show.