r/cpp • u/javascript • May 09 '26
Any good tech talks leveraging statement expressions?
Lambdas do a great job in a lot of cases but sometimes you need a statement expression. Any good content on youtube?
14
Upvotes
View all comments
Show parent comment
1
u/fdwr fdwr@github 🔍 May 09 '26
Indeed,
doexpressions would conditionally allow local/function level returns, and we could finally replace thoseRETURN_IF_FAILEDmacros with a non-preprocessor form.