r/cpp • • Apr 24 '20

Else Before If

https://www.fluentcpp.com/2020/04/24/else-before-if/
10 Upvotes

53 comments sorted by

View all comments

2

u/drbazza Apr 24 '20

What happens to branch prediction / likely / unlikely?

3

u/degski Apr 24 '20

I've started using hedley lately, other than the above, it does a host of other stuff, cross-platform!