I came across this macro:
#define STR_ERROR(ecode) case ecode: return #ecode;
What does the #ecode
part do?
ecode is an int, and this function returns a const char*.
I'm sure that this has been answered already, but my search-foo has abandoned me. ecode
itself is specific to this code. Searching for c++ #
gives generic information about macros (as well as some numbered lists relating to C++).