M
Mike B
In the GNU g++ compiler, I can't get it to recognize the following as a
compiler error:
typedef bool integerSizeCheck [sizeof(int) == 0];
Shouldn't the compiler not allow me to do this? Is there some option I
can turn on to allow me to use this style of "compile-time assert"?
compiler error:
typedef bool integerSizeCheck [sizeof(int) == 0];
Shouldn't the compiler not allow me to do this? Is there some option I
can turn on to allow me to use this style of "compile-time assert"?