home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / std / cplus / 1789 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.std.c++
  2. Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
  3. From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
  4. Subject: Re: Zero-length structures and pointer comparisons
  5. Message-ID: <1992Dec15.160548.10037@ucc.su.OZ.AU>
  6. Sender: news@ucc.su.OZ.AU
  7. Nntp-Posting-Host: extro.ucc.su.oz.au
  8. Organization: MAXTAL P/L C/- University Computing Centre, Sydney
  9. References: <24392@alice.att.com> <1992Dec12.162211.5076@ucc.su.OZ.AU> <24398@alice.att.com>
  10. Date: Tue, 15 Dec 1992 16:05:48 GMT
  11. Lines: 27
  12.  
  13. In article <24398@alice.att.com> ark@alice.UUCP () writes:
  14. >In article <1992Dec12.162211.5076@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
  15. >
  16. [deleted]
  17. >No, that's just the opposite of that I said.
  18. >
  19. >I said `the context that WAS current.'
  20.  
  21.     Phew! Sorry, I think ...
  22. >
  23. >Perhaps an example will make it clearer:
  24. >
  25. >    void (*p)(void);
  26. >    void f(int n)
  27. >    {
  28. >        void g() { printf("%d\n", n); }
  29.  
  30.     of there being only *one* function 'g()' here,
  31. not a new one for each activation record. I though you were saying
  32. only ever one trampoline for 'g' was needed, what you meant
  33. was at most one for each pair (g,activation of f)
  34.  
  35. -- 
  36. ;----------------------------------------------------------------------
  37.         JOHN (MAX) SKALLER,         maxtal@extro.ucc.su.oz.au
  38.     Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
  39. ;--------------- SCIENTIFIC AND ENGINEERING SOFTWARE ------------------
  40.