Topic: Mutual friendship
Author: "Observer" <levlion@email.msn.com>
Date: 1999/07/04 Raw View
Why friend class declarations cannot be class definitions? Why declaring an
inner class to be friend of the outer class requires forward declaration of
the inner class?
If these constrains are lifted, it will be possible to
#define friendlyclass friend class
and all friendlyclasses will have full access to each other
---
[ 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 ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]