Nested functions

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 29 01:37:00 GMT 2005


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



More information about the Gcc-help mailing list