home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1794 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.4 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!umn.edu!uum1!salsa.ssesco.com!ssesco.com!nau
  2. From: nau@ssesco.com (William Nau)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Nested functions (was: Re: Zero-length structures and pointer comparisons)
  5. Message-ID: <BzBHn4.26J@ssesco.com>
  6. Date: 15 Dec 92 20:16:15 GMT
  7. 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>
  8. Sender: news@ssesco.com
  9. Organization: SSESCO
  10. Lines: 22
  11.  
  12. >> Why are nested functions so hard? I think that 
  13. >> Gnu C's implementation of nested functions shows that it does not
  14. >> cause any particularly difficult implementation problems.
  15. >
  16. >The first time I tried to use gcc's nested functions,
  17. >my program dumped core -- apparently due to a bug in gcc.
  18. >The next version of gcc I tried worked.  This suggests
  19. >that the implementation isn't exactly trivial.
  20.  
  21. It suggests that they didn't properly test that release.  Given
  22. a decent design, it's not asking that much out of a high level
  23. language.  It does amaze me that this wonderful object oriented
  24. language does not allow for nested functions.
  25.  
  26. -- 
  27. William R. Nau
  28. Supercomputer Systems Engineering and Services Company (SSESCO)
  29. 511 11th Avenue South, Suite 216
  30. Minneapolis, Minnesota 55415-1536
  31. (612) 342-0003
  32.  
  33. nau@SSESCO.com
  34.