Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think!yale!cmcl2!rna!kc From: kc@rna.UUCP (Kaare Christian) Newsgroups: comp.lang.c++ Subject: Re: pointer to function Summary: ... that's what friends are for ... Keywords: pointer function arguments Message-ID: <1002@rna.UUCP> Date: 20 Mar 90 16:02:58 GMT References: <1990Mar19.233906.23149@elroy.jpl.nasa.gov> Distribution: usa Organization: Rockefeller University - Neurobiology Lines: 17 In article <1990Mar19.233906.23149@elroy.jpl.nasa.gov>, richard@ben.Jpl.Nasa.Gov (Conan the Barbarian) writes: : This is not a flame. The use of the member function address : does not make sense when separated from the class instance. : (Yes I can think of a million exceptions also.) : The member function would not fully operate as documented without : the hidden argument. : : Yuck. That means the handler for a asynchronous server can : not use C++ strategies unless you have all of the server : source also. Double yuck. Who wants to re-write X, Motif, : Xview, Sunview, etc? Triple yuck This is an example of a situation where friends are useful. (See ongoing discussion of friends.) Kaare Christian kc@rna.rockefeller.edu