Tutorial information about function-pointers and callbacks. A function-pointer is a variable that points to the address of a function with a specific signature (calling argument and return type). They are used to implement callbacks: You pass a function-pointer as calling argument to another function/object and the function/object then uses the function-pointer to callback.
C++ Callback Solution
A solution to the problem of passing class methods as Callbacks in the C++ language using a template pattern.
Callbacks in C++ Using Template Functors
A detailed paper by Rich Hickey on the concept of callbacks and the usage of template functors to realize them.
myelin: Implementing delegates in C++
An implementation of .NET delegates with C# syntax in straight C++ using a preprocessor.
Last update:October 22, 2012 at 17:05:05 UTC