Why does this use of the detection idiom result in different compilation errors for Clang and GCC and none for MSVC
While playing around with the detection idiom and void_t I found that expressions where the subtraction operator and void* are involved lead to different errors in the tested compilers. GCC 10.2 and …