I am trying to update my code to C++20 and I have realised that my performance logging macros aren't working.
Current code:
#define LN_PROFILE(info) timer::ScopeTimer timer##__FILE__##__LINE__(__FUNCSIG__, info);
(ScopeTimer stores its results when its destructed)
Using std::source_location::current I could not manage to concatenate it to end of my variable name. (My macro is written as such to avoid two timers being created with the same name, messing up the code.)