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
2
u/SyntheticDuckFlavour May 09 '26
If you are using the old.reddit theme, it doesn't support ``` code blocks. To get it to format code properly, you need to indent the code 4 spaces, without the ``` thing.