home *** CD-ROM | disk | FTP | other *** search
- 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
- From: cok@sunshine.Kodak.COM (David Cok)
- Newsgroups: comp.std.c++
- Subject: Re: Alternatives to operator.()
- Message-ID: <1992Jul24.190321.5671@kodak.kodak.com>
- Date: 24 Jul 92 19:03:21 GMT
- Article-I.D.: kodak.1992Jul24.190321.5671
- References: <BruME9.HGJ@world.std.com> <9220604.6372@mulga.cs.mu.OZ.AU> <9220614.4939@mulga.cs.mu.OZ.AU>
- Sender: news@kodak.kodak.com
- Organization: Eastman Kodak Co., Rochester, NY
- Lines: 24
-
- In article <9220614.4939@mulga.cs.mu.OZ.AU> fjh@mundil.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
- >
- >The more I think about this the more I like it.
- >In fact I would say that is is *better* than just allowing
- > r.invalidate_cache();
- >since you *want* meta-operations to stand out as being semantically different
- >to standard operations. This method allows you to clearly seperate the two.
- >Also in general you might want to control access to meta-operations, and
- >having this seperation also makes that easier.
- >
- >--
- >Fergus Henderson fjh@munta.cs.mu.OZ.AU
- >This .signature VIRUS is a self-referential statement that is true - but
- >you will only be able to consistently believe it if you copy it to your own
- >.signature file!
-
- No, I don't want meta-operations to stand out. I want to be able to design
- interfaces in which construction, copying, destruction, conversion all happen
- silently and automatically where the interface designs them to. The same
- would apply to operator. if it were allowed to be overloaded.
-
- David Cok
- Eastman Kodak
- cok@Kodak.COM
-