[Issue 14931] switch doesn't work with any pointers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 18 16:44:40 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14931

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com

--- Comment #4 from yebblies <yebblies at gmail.com> ---
(In reply to Andrei Alexandrescu from comment #3)
> Yah, accept it and subject it to the usual assumptions and optimizations
> that go for equivalent integral-based switch statements.

There is no guarantee that integral switches get turned into jump tables.

--


More information about the Digitalmars-d-bugs mailing list