https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78714
Howard Hinnant <howard.hinnant at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |howard.hinnant at gmail dot com --- Comment #1 from Howard Hinnant <howard.hinnant at gmail dot com> --- Here is a hopefully helpful algorithm for scanning a list of "keywords" for a match: https://github.com/HowardHinnant/date/blob/master/include/date/date.h#L4695-L4797 The keywords can be prefixes of one another, and the scan will match the longest possible keyword. The scan is case-insensitive. Here is how it can be used: https://github.com/HowardHinnant/date/blob/master/include/date/date.h#L4695-L4797 Here is how this bug is impacting real-world code, and estimates on how the impact will increase with C++20: https://github.com/HowardHinnant/date/wiki/FAQ#week_day_parse_bug https://github.com/HowardHinnant/date/issues/539