home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!wupost!uwm.edu!ogicse!zephyr.ens.tek.com!uw-beaver!june.cs.washington.edu!wille
- From: wille@june.cs.washington.edu (Robert Wille)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: C++ virtuals (Was: How easy is it to disassemble MS-DOS programs?
- Message-ID: <1992Jul21.161240.15119@beaver.cs.washington.edu>
- Date: 21 Jul 92 16:12:40 GMT
- Article-I.D.: beaver.1992Jul21.161240.15119
- 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>
- Sender: news@beaver.cs.washington.edu (USENET News System)
- Organization: Computer Science & Engineering, U. of Washington, Seattle
- Lines: 26
-
- In article <Brq3Hv.n2o@well.sf.ca.us>, comeau@csanta.attmail.com (Greg Comeau) writes:
- |> In article <1992Jul14.161737.1321@beaver.cs.washington.edu> wille@cs.washington.edu (Robert Wille) writes:
- |> >It's not really all that artificial. Consider virtual C++ functions.
- |> >These functions will not be directly referenced through any code. They
- |> >are invoked only by obtaining their address from data space.
- |>
- |> Although that is true in most cases, it need not be in all.
- |> (Yes, I know that wasn't your original point, but I felt this part
- |> needed it own comment).
- |>
- |> - Greg
- |> --
- |> Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418
- |> Producers of Comeau C++ 3.0 With Templates
- |> Here:attmail.com!csanta!comeau / BIX:comeau / CIS:72331,3421
- |> Voice:718-945-0009 / Fax:718-441-2310 / Prodigy: tshp50a
-
- I stand corrected. You can use the :: operator to specify which
- virtual function you want. However, nearly all references to a
- virtual function are through data space.
-
- --
- Robert
-
- There is evidence that the brain is like a computer. If that's true,
- then there really aren't any stupid people. Just people running DOS.
-