diff --git a/microsoft_vcpp.html b/microsoft_vcpp.html index 04cee7b..6a95d75 100644 --- a/microsoft_vcpp.html +++ b/microsoft_vcpp.html @@ -130,7 +130,7 @@ loops in another pair of curly braces.
std::numeric_limits template, does
not work.
@@ -141,6 +141,10 @@ struct A
};
+Workaround: Either use an enum (which has incorrect
+type, but can be used in compile-time constant expressions), or define
+the value out-of-line (which allows for the correct type, but prohibits
+using the constant in compile-time constant expressions).
wchar_t is not built-in<cstddef>, which defines defines
+includes <cstddef>, which defines
wchar_t as a typedef for unsigned
short. Note that this means that the compiler does not see
wchar_t and unsigned short as distinct