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 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results