home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11436 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.9 KB

  1. Path: sparky!uunet!usc!wupost!uwm.edu!ogicse!zephyr.ens.tek.com!uw-beaver!june.cs.washington.edu!wille
  2. From: wille@june.cs.washington.edu (Robert Wille)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C++ virtuals (Was: How easy is it to disassemble MS-DOS programs?
  5. Message-ID: <1992Jul21.161240.15119@beaver.cs.washington.edu>
  6. Date: 21 Jul 92 16:12:40 GMT
  7. Article-I.D.: beaver.1992Jul21.161240.15119
  8. References: <92191.144147LEEK@QUCDN.QueensU.CA> <1992Jul10.183215.11314@mits.mdata.fi> <1992Jul14.161737.1321@beaver.cs.washington.edu> <Brq3Hv.n2o@well.sf.ca.us>
  9. Sender: news@beaver.cs.washington.edu (USENET News System)
  10. Organization: Computer Science & Engineering, U. of Washington, Seattle
  11. Lines: 26
  12.  
  13. In article <Brq3Hv.n2o@well.sf.ca.us>, comeau@csanta.attmail.com (Greg Comeau) writes:
  14. |> In article <1992Jul14.161737.1321@beaver.cs.washington.edu> wille@cs.washington.edu (Robert Wille) writes:
  15. |> >It's not really all that artificial.  Consider virtual C++ functions.
  16. |> >These functions will not be directly referenced through any code.  They
  17. |> >are invoked only by obtaining their address from data space.
  18. |> 
  19. |> Although that is true in most cases, it need not be in all.
  20. |> (Yes, I know that wasn't your original point, but I felt this part
  21. |> needed it own comment).
  22. |> 
  23. |> - Greg
  24. |> -- 
  25. |>          Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
  26. |>                    Producers of Comeau C++ 3.0 With Templates
  27. |>           Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
  28. |>         Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
  29.  
  30. I stand corrected.  You can use the :: operator to specify which 
  31. virtual function you want.  However, nearly all references to a 
  32. virtual function are through data space.
  33.  
  34. -- 
  35. Robert
  36.  
  37. There is evidence that the brain is like a computer.  If that's true, 
  38. then there really aren't any stupid people.  Just people running DOS.
  39.