home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / std / cplus / 945 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  1.6 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!sdd.hp.com!hp-cv!ogicse!das-news.harvard.edu!spdcc!dirtydog.ima.isc.com!newsserver.pixel.kodak.com!kodak!sunshine!cok
  2. From: cok@sunshine.Kodak.COM (David Cok)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: Alternatives to operator.()
  5. Message-ID: <1992Jul24.190321.5671@kodak.kodak.com>
  6. Date: 24 Jul 92 19:03:21 GMT
  7. Article-I.D.: kodak.1992Jul24.190321.5671
  8. References: <BruME9.HGJ@world.std.com> <9220604.6372@mulga.cs.mu.OZ.AU> <9220614.4939@mulga.cs.mu.OZ.AU>
  9. Sender: news@kodak.kodak.com
  10. Organization: Eastman Kodak Co., Rochester, NY
  11. Lines: 24
  12.  
  13. In article <9220614.4939@mulga.cs.mu.OZ.AU> fjh@mundil.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
  14. >
  15. >The more I think about this the more I like it.
  16. >In fact I would say that is is *better* than just allowing
  17. >    r.invalidate_cache();
  18. >since you *want* meta-operations to stand out as being semantically different
  19. >to standard operations. This method allows you to clearly seperate the two.
  20. >Also in general you might want to control access to meta-operations, and
  21. >having this seperation also makes that easier.
  22. >
  23. >-- 
  24. >Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  25. >This .signature VIRUS is a self-referential statement that is true - but 
  26. >you will only be able to consistently believe it if you copy it to your own
  27. >.signature file!
  28.  
  29. No, I don't want meta-operations to stand out.  I want to be able to design
  30. interfaces in which construction, copying, destruction, conversion all happen
  31. silently and automatically where the interface designs them to.  The same
  32. would apply to operator. if it were allowed to be overloaded.
  33.  
  34. David Cok
  35. Eastman Kodak
  36. cok@Kodak.COM
  37.