Ian Lance Taylor <ian@xxxxxxxx> writes: | Marco Gerards <mgerards@xxxxxxxxx> writes: | | > Sorry, I should choose my words more carefully. Are nested functions | > being deprecated? | | No. Nested function support is required in any case to support | languages other than C/C++. Given that the backend support is | required, there is no particular plan to remove the extension from | C/C++. As a side note, I was under the impression that nested functions are not supported in C++ (because that language already has local classes -- yes, I know, they are not the same.) -- Gaby