This is the mail archive of the gcc@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: Questions about trampolines


Robert Dewar <dewar@adacore.com> writes:

| Marc Espie wrote:
| > In article <4234D2CB.1010703@adacore.com> you write:
| >
| >>Well as I said above, trampolines or an equivalent are currently critically
| >>needed by some front ends (and of course by anyone using the (very useful IMO)
| >>extension of nested functions in C).
| > This is your opinion, but I've yet to find an actual piece of code
| > in a
| > real project that uses that extension.
| 
| I have certainly seen it used, but you may well be right that it is
| seldom used. It is certainly reasonable to consider removing this
| extension from C and C++. Anyone using that feature? Or know anyone
| who is.

GNU C++ does not have nested functions.  Standard C++ local classes
provide good support, IMHO.

-- Gaby


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