3 ms·
From GCC documentation: "If you try to call the nested function through its address after the containing function exits, all hell breaks loose." I would defini
by enriquto 11y ago
From GCC documentation: "If you try to call the nested function through its address after the containing function exits, all hell breaks loose."
I would definitely accept GCC lock-in, but so far GCC does not have this feature. Clang does, hoever, via _Blocks, but the syntax is not very C-like.