This question already has an answer here:
Is there a possibility in C++ to turn a string into an element like a function name? For example:
"MyFunction()"
to MyFunction()
so it's callable or maybe using a macro. I know the concatenating operator '##', but it does not work with strings.
Aucun commentaire:
Enregistrer un commentaire