This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Nested functions
Ian Lance Taylor <ian@airs.com> writes:
| Marco Gerards <mgerards@xs4all.nl> 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