Is there any benefit in using expected_true around the condition of a for or while loop?
for (int i = 0; expected_true(i < numberOfCharacters); ++i)
It is not expected that you'll see a benefit from using expected_true for the condition of a loop. This is because the compiler has built-in heuristics for loop branches, so assumes that they are more likely to be true than false even when expected_true is not used.
All the best,
Retrieving data ...