C++ generic callback template generator Notes: This program generates types and methods for creating and invoking callbacks in C++ with arbitrary bound arguments and late arguments passed in. At present the generated code assumes that returning void is permitted by the compiler. Some additional hacking will be needed to support the specializations necessary when this is not the case, but on our main build system this is not an issue. The notion of having a script to generate templates was borrowed from David Mazieres callback.h file (in the async lib distributed with sfs). The code generated bears strong similarities to David's work, but was largely written independently of it.