Comment by wavemode
8 hours ago
> why can’t nested functions just be normal functions inside a namespace
Because GCC's nested functions are closures - they can access local variables within the function.
8 hours ago
> why can’t nested functions just be normal functions inside a namespace
Because GCC's nested functions are closures - they can access local variables within the function.
No comments yet
Contribute on Hacker News ↗