Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template<class function_class>
- void set_member_callbacks(const std::function<function_class()>& func)
- {
- for(auto& member : members())
- {
- member.first->set_callback_state_change(
- dialog_callback<function_class, &function_class::func>);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement