enricorossi.org

Enrico Rossi


Articles by Enrico Rossi

c++ create a catalog of static functions

Tags: tips, notes, c++, example, functions

Create a catalog of static functions so any class can register its own functions into the catalog and later all the same functions in the catalog can be called.

ex. Register all the suspend() and resume() functions for all the classes created.

A working example (available on github).

/* Bind functions …
Read more...
← Previous Page 2 / 15 Next →