On Sat, Nov 23, 2002 at 10:57:17AM -0500, Eric Woodruff wrote: > It is ridiculous that I can't give access to an inaccessible class. You have > to have access to be able to give it? What is the justification for this?
The reason for making things private is to say "this is an implementation detail and I don't want anyone else to depend on its existence." If A were later to remove its internal class, compilation of B would fail. The "correct" way of doing this I suppose is to make both classes friends of eachother. But best of all would be to not use friends at all. -- Mattias Flodin <[EMAIL PROTECTED]> - http://www.cs.umu.se/~flodin/ Room NADV 102 Department of Computing Science Umeå University S-901 87 Umeå, Sweden -- "Too many errors on one line (make fewer)" -- Error message from Apple's MPW C compiler _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost