r/cpp • • 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

33 comments sorted by

View all comments

Show parent comment

1

u/fdwr fdwr@github 🔍 May 09 '26

Indeed, do expressions would conditionally allow local/function level returns, and we could finally replace those RETURN_IF_FAILED macros with a non-preprocessor form.