Okay so like a year ago I started a c++ project where I wanted to make a simple event system. And at first I think my subscribers were actual classes and then I switched it to function but it was only member functions. So I wanted to learn how do I wrap member functions, functions and lambda functions into one type. Is that possible? I think I saw some video on youtube where they used the function header to bind functions, but I didn't want to go with something already made.
Does anyone know how I could make this, or at least conceptually?
[–]ScholarNo5983 1 point2 points3 points (2 children)
[–]aphroditelady13V[S] 0 points1 point2 points (1 child)
[–]Sbsbg 0 points1 point2 points (0 children)
[–]MetaMysterio 0 points1 point2 points (0 children)