None of the compilers seems to handle that code well:
Creating just a comparison, whether the string has one letter between 'a' and 'n' and outputting that letter with a newline.
-----Ursprüngliche Nachricht-----
Von: Zhao YunShan via Std-Proposals <std-proposals@lists.isocpp.org>
I wrote a piece of code equivalent to `switch (string)`, using an `if...else if... chains` structure, as shownhere: https://gcc.godbolt.org/z/bf61o41M6It appears that the compiler uses a "jump table" and does not employ a "multiway branch", which is interesting.