Typesafe callback framework for C++
