For a good example of this, check out the various Linux function pointer tables. Implementers define the functions they'd like, and the rest get zeroed out. Quite elegant indeed.
_______________________________________________ cgit mailing list cgit@hjemli.net http://hjemli.net/mailman/listinfo/cgit