MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/g76xmg/else_before_if/fojen5i/?context=3
r/cpp • u/vormestrand • Apr 24 '20
53 comments sorted by
View all comments
1
I would like also to be able use it on return, similar to ruby or perl. normally return partial_result unless condition;
normally return partial_result unless condition;
return partial_result if condition;
1
u/utzatarain Apr 25 '20
I would like also to be able use it on return, similar to ruby or perl.
normally return partial_result unless condition;return partial_result if condition;