No existing code uses "default:" for marking the default enum value
because currently this syntax is invalid. So this is not a breaking change.
On 3/24/23 18:05, Oleksandr Koval via Std-Proposals wrote:
> Actually, allowing default values can break
> existing code because right now `Enum e{};` always means e = 0, after
> your change the value will be different.
No existing code uses "default:" for marking the default enum value
because currently this syntax is invalid. So this is not a breaking change.
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals