logoalt Hacker News

mandarax806/15/20251 replyview on HN

std::bind is bad for him for the same reasons std::function is bad though


Replies

spacechild106/15/2025

Why? If the bound (member) function crashes, you should get a perfectly useable crash report. AFAIU his problem was that lambdas are anonymous function objects. This is not the case here, because the actual code resides in a regular (member) function.

show 1 reply