Comment on Indirect Calling of Nested Functions on GCC Without Executable StackparentComments−wavemode13dwhy can’t nested functions just be normal functions inside a namespaceBecause GCC's nested functions are closures - they can access local variables within the function.
Comments
Because GCC's nested functions are closures - they can access local variables within the function.