But then all case branches hit the std::unreachable. How can that work in practice?
Re:The C++ Iceberg
by gravescale on Wednesday May 08, 2024 @06:13AM
(#40296249)
I think it's supposed to be a return not a break.
yeah, thanks! I added an edit.
edit:
duh, it's supposed to be returns here instead of breaks.