0

So if I have a macro like this (simplified example)

#define LOG(TYPE) LOG_STUFF(TYPE, #TYPE);

I want to use it like this

LOG(TMap<int32, int32>);

So #TYPE should become "TMap<int32, int32>" but instead it becomes "TMap<int32" and comma is taken as next parameter. Can I fix this or do I have to pass string manually?

M.kazem Akhgary
  • 18,645
  • 8
  • 57
  • 118

0 Answers0