wxwidgets/tests/strings
Ian McInerney 97cba7c0ca Restore ToCDouble compatibility with leading spaces/+ and hex
The previous ToCDouble() function accepted leading spaces, a starting +
sign, and hex strings. std::from_chars() does not accept spaces or +,
and requires a special flag to convert hex strings, so handle this
manually to preserve the old behaviour of this function.

This is similar to the changes done for ToCULong() in #24022.

Closes #24089.
2023-11-30 02:29:58 +01:00
..
crt.cpp Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
hexconv.cpp Reimplement tests with Catch 2022-12-07 20:52:33 +01:00
iostream.cpp Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
numformatter.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
stdstrings.cpp Use "= default" for all trivial default ctors and dtors 2023-11-17 01:33:32 +01:00
strings.cpp Restore ToCDouble compatibility with leading spaces/+ and hex 2023-11-30 02:29:58 +01:00
tokenizer.cpp Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
unichar.cpp Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
unicode.cpp Use range for instead of iterators in unit test 2023-03-26 17:56:55 +01:00
vararg.cpp Check that missing format string arguments are detected 2022-11-23 19:21:36 +01:00
vsnprintf.cpp Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00