Visual Studio Code – Why does this simple code not consistently compile?
The following code compiles on g++, clang, and Visual Studio: #define HEX(hex_) 0x##hex_ int main() { return HEX(BadC0de); } as does this modification, using C++14 digit separators: return HEX(1'Bad'C0de); But this won't compile on g++ or clang (it works on…