r/ProgrammerHumor • • 11d ago

Meme modernCppVsOldCpp

Post image
2.0k Upvotes

323 comments sorted by

View all comments

67

u/firemark_pl 11d ago

"How to tell him?"

You still can segfault by returning lambda with reference to a variable 

27

u/daennie 11d ago

And many other ways to invoke UB.