News for hackers. Stuff that matters.
Re:How Do I Declare a Function Pointer in C? by quinnftw on Thursday January 19, 2017 @04:52PM (#13439794)
You could also do

    void foo(std::function<void(int)> callback);

There are no comments on this comment yet.