logoalt Hacker News

gpderettatoday at 9:26 AM0 repliesview on HN

Things get complicated when a lambda that capture by reference is capturing things that are not on a single stack frame (or a stack frame at all). Then you have references to references. You could rely on the optimizer, but the capture has ABI implications.