Instead of specializing wxStrtoxCharType and then testing whether endptr is null, just define separate, and simpler, overloads of wxStrtox() functions taking nullptr_t -- we can avoid the unnecessary test completely in this case, as nullptr is, by definition, always null anyhow. Also add a test of using wxStrtol() with nullptr too. This should fix the build with older gcc and MSVS versions. |
||
|---|---|---|
| .. | ||
| crt.cpp | ||
| hexconv.cpp | ||
| iostream.cpp | ||
| numformatter.cpp | ||
| stdstrings.cpp | ||
| strings.cpp | ||
| tokenizer.cpp | ||
| unichar.cpp | ||
| unicode.cpp | ||
| vararg.cpp | ||
| vsnprintf.cpp | ||