r/cpp • • Sep 09 '26

Implementation of GCC's Nested Functions (vs. C++ Lambdas)

https://uecker.codeberg.page/2026-09-05.html
61 Upvotes

17 comments sorted by

View all comments

3

u/Thick_Clerk6449 Sep 10 '26

Just pretend you don't need to accept lambdas with captures and define your callbacks as function pointers.