mercredi 3 février 2016

Is there a macro or provision to check is the line of code is inside a class?

I have a c style macro in my code, which prints the logs. I want to alter the macro to print the this pointer. But, there are some portion of a code, which is not a member function of a class or some are static functions. So, in my macro I want to check, the current line of code is inside a member function or not. Possible?

Aucun commentaire:

Enregistrer un commentaire