SyntaxFix
Write A Post
Hire A Developer
Questions
#define PROCESS_AND_RETURN(X) \ X.process(); \ // Important: Return only after invoking virtual method process() \ return X
Due to "Important" comment, the macro never returns the object and CRASH!