🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #3671

Re: Anyone considered inheritable friendship?

#3671
From: john (j.d.) hickin
Date: Thu, 14 Mar 1996 16:46
26 lines
1546 bytes
|> I suggested once that the keyword "friends" should indicate that

class X {
#ifdef X_FRIENDS
   X_FRIENDS;
#endif
public:
..
};

The above hack should let you develop a tightly-coupled hierarchy with
minimal fuss until closure can be applied and the final friend declaration
inserted in its place.

In my opinion a tightly-coupled framework must be finite a-priori.  I can't
reconcile this requirement with that of inherited friendship.

--
John Hickin      Nortel Technology, Montreal, Quebec
(514) 765-7924   hickin@bnr.ca
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
Technical Details
Message-ID: <4i99r7$5mr@bmtlh10.bnr.ca>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back

Show Full Headers
Complete Article Headers
From: "john (j.d.) hickin" <hickin@bnr.ca>
Message-ID: <4i99r7$5mr@bmtlh10.bnr.ca>
X-Original-Date: Thu, 14 Mar 1996 14:18:15 +0000
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 14 Mar 96 16:46:10 GMT
Approved: fjh@cs.mu.oz.au
Subject: Re: Anyone considered inheritable friendship?
Newsgroups: comp.std.c++
Organization: Bell Northern Research
X-Mailer: Mozilla 1.1 (X11; I; HP-UX A.09.05 9000/715)
X-Url: news:4i7qjr$gr7@mujibur.inmind.com
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMUhNeuEDnX0m9pzZAQFB5wF9GUxNAVIgQV3TKSGUGWMj2iKY8U1SVlMg
 K/iNZuLeg4JIKcncJAKcR/s1OFFSODzy
 =T6wo