This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]