Comment

Comment by einpoklum

> This problem doesn't arise with C++ lambdas because you pass them around as special objects, not as bare function pointers.

If they don't capture anything, I believe you _can_ pass them as bare function pointers.

parent einpoklum 1 month ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton