Hacker News new | ask | show | jobs
by dearrifling 2615 days ago
std::function implementations typically have small buffer optimization, a lambda capturing a single reference will most likely fit in there. But yes, it's quite heavyweight in general.