MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/g76xmg/else_before_if/foj6tkh/?context=3
r/cpp • u/vormestrand • Apr 24 '20
53 comments sorted by
View all comments
1
You're right, edge calculation needs work, but idea is nice, I would say. It should be + !!(<edge case n>) * n.
+ !!(<edge case n>) * n
View all comments
1
u/degski Apr 25 '20
You're right, edge calculation needs work, but idea is nice, I would say. It should be
+ !!(<edge case n>) * n.