J
JKop
Let's say you want to store a character of the Unicode
character system. You want a 32-Bit unsigned integer for
this, but wchar_t isn't guaranteed to be 32-Bit.
Is there any forseeable disasters to putting this at the
beginning of your translation unit:
#define wchar_t unsigned long
The only one I can think of is function overloading:
void Blah(wchar_t) {}
void Blah(unsigned long) {}
-JKop
character system. You want a 32-Bit unsigned integer for
this, but wchar_t isn't guaranteed to be 32-Bit.
Is there any forseeable disasters to putting this at the
beginning of your translation unit:
#define wchar_t unsigned long
The only one I can think of is function overloading:
void Blah(wchar_t) {}
void Blah(unsigned long) {}
-JKop