Advertisement
Vultraz

Untitled

Aug 28th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1.     template<class function_class>
  2.     void set_member_callbacks(const std::function<function_class()>& func)
  3.     {
  4.         for(auto& member : members())
  5.         {
  6.             member.first->set_callback_state_change(
  7.                 dialog_callback<function_class, &function_class::func>);
  8.         }
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement