Thread View: comp.std.c++
1 messages
1 total messages
Started by john (j.d.) hickin
Thu, 14 Mar 1996 16:46
Re: Anyone considered inheritable friendship?
Author: john (j.d.) hickin
Date: Thu, 14 Mar 1996 16:46
Date: Thu, 14 Mar 1996 16:46
26 lines
1546 bytes
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 ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads