🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1250

Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)

#1250
From: William Nau
Date: Tue, 15 Dec 1992 20:16
22 lines
1429 bytes
>> Why are nested functions so hard? I think that 
>> Gnu C's implementation of nested functions shows that it does not
>> cause any particularly difficult implementation problems.
>
>The first time I tried to use gcc's nested functions,
>my program dumped core -- apparently due to a bug in gcc.
>The next version of gcc I tried worked.  This suggests
>that the implementation isn't exactly trivial.

It suggests that they didn't properly test that release.  Given
a decent design, it's not asking that much out of a high level
language.  It does amaze me that this wonderful object oriented
language does not allow for nested functions.

-- 
William R. Nau
Supercomputer Systems Engineering and Services Company (SSESCO)
511 11th Avenue South, Suite 216
Minneapolis, Minnesota 55415-1536
(612) 342-0003

nau@SSESCO.com
Technical Details
Message-ID: <BzBHn4.26J@ssesco.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!umn.edu!uum1!salsa.ssesco.com!ssesco.com!nau
References: <9234601.10277@mulga.cs.mu.OZ.AU> <1992Dec11.231131.10956@microsoft.com> <24392@alice.att.com> <1992Dec12.162211.5076@ucc.su.OZ.AU> <24400@alice.att.com> <9235019.15484@mulga.cs.mu.OZ.AU> <24413@alice.att.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!umn.edu!uum1!salsa.ssesco.com!ssesco.com!nau
From: nau@ssesco.com (William Nau)
Newsgroups: comp.std.c++
Subject: Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)
Message-ID: <BzBHn4.26J@ssesco.com>
Date: 15 Dec 92 20:16:15 GMT
References: <9234601.10277@mulga.cs.mu.OZ.AU> <1992Dec11.231131.10956@microsoft.com> <24392@alice.att.com> <1992Dec12.162211.5076@ucc.su.OZ.AU> <24400@alice.att.com> <9235019.15484@mulga.cs.mu.OZ.AU> <24413@alice.att.com>
Sender: news@ssesco.com
Organization: SSESCO
Lines: 22