Function name macro
-
Is there a way to get a function name in a macro? Something similar to __FILE__. Basically I use the class name and function name in debug statements through-out my code and I want a way to automate the insertion of these values. Ideally I want the values at compile time. Thanks Mike
-
Is there a way to get a function name in a macro? Something similar to __FILE__. Basically I use the class name and function name in debug statements through-out my code and I want a way to automate the insertion of these values. Ideally I want the values at compile time. Thanks Mike
Functor or pointer to function? Not sure if this is the thing you want. Sonork 100.41263:Anthony_Yio
-
Functor or pointer to function? Not sure if this is the thing you want. Sonork 100.41263:Anthony_Yio
What I want is the function name as a string. What I currently use is DB((_T("ClassName::MethodName Some message"))); What I want to be able to do is get the "ClassName::MethodName" bit without having to type it in each time.