The ## are not working with an string an a macro. My compiler not extract the value of the macro or something else after ##
#define ProfilerScope(name) Timer timer ## __LINE__;
This just returns me Timer timer__LINE__
I tried to make a STRINGIZE macro to makes this works but nothing, they just returns me the same
#define STRINGIZE(x) STRINGIZE_SIMPLE(x)
#define STRINGIZE_SIMPLE(x) #x
#define ProfilerScope(name) Timer timer ## STRINGIZE(__LINE__);
return Timer timerSTRINGIZE(__LINE__)
I want it to return the line of code where I'm using the macro