Here, max is not local to function foo. It's effectively global. You can't declare a macro as a member of a C++ class or namespace. In a sense, macro names are more pervasive (read “worse”) than ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results