I'm implementing a neo-fork of Midnight Commander in a style resembling OO programming. It's however little irritating to pass the object as the first argument for virtual methods. I wonder if there is a C pre-processor that would be lifting this requirement? E.g.: that would translate some special dereference operator:
object-->method(a, b, c);
into:
object->method(object, a, b, c)
? It is so simple task that I could even be implementing it by myself. However, is there a ready to use preprocessor?