I am trying to find some kind of mechanism on how to tell if you currently are in .h or .cpp file during the compilation time.
Basically the reason is that I need to make some #if #endif based on knowing whether current code is located in header or cpp file.
Aucun commentaire:
Enregistrer un commentaire