Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!itsgw!steinmetz!uunet!inxsvcs!mwg From: mwg@inxsvcs.UUCP (Phil Blecker) Newsgroups: comp.lang.c++ Subject: Re: Problem with member functions as friends Summary: never could get that to work Message-ID: <115@inxsvcs.UUCP> Date: 11 Feb 89 23:24:07 GMT References: <1623@psu-cs.UUCP> Distribution: usa Organization: INX Services, Los Angeles, CA Lines: 16 In article <1623@psu-cs.UUCP>, karenc@psu-cs.UUCP (Karen Cunningham) writes: > I tried to make a member function of the > derived class a friend of the base class. This seems to be the same > as the example from page 195 in Stroustrup. I tried to compile that > example ... > without success. I've tried many times to find a way to do that. None of the ports from AT&T's cfront 1.2.1 seem to handle that. Sure wish they would. I'm tired of making classes friends of each other and leaving myself notes to fix it when the compiler accepts the syntax. Oh, well. -- Phil Blecker +1 818 243-3053 none of my ideas belong to me and uunet!inxsvcs!mwg i can't see anything wrong with that