What is the correct strategy to limit the scope of #define labels and avoid unwarranted token collision?
#define
In the following configuration:
The correct strategy would be to not use
#define ZERO '0' #define ONE '1'
at all. If you need constant values, use, in this case, a const char instead, wrapped in a namespace.
const char