Path: utzoo!utgpu!watserv1!watmath!att!cbnewsk!dwwx From: dwwx@cbnewsk.att.com (david.w.wood) Newsgroups: comp.lang.c++ Subject: Re: scope of friend identifiers Summary: 2.1 changed enclose scope rules Message-ID: <1990Aug21.040839.24010@cbnewsk.att.com> Date: 21 Aug 90 04:08:39 GMT References: <5708@darkstar.ucsc.edu> <1990Aug17.123746.8855@tukki.jyu.fi> Organization: AT&T Bell Laboratories Lines: 17 I believe this is the case (Andrew Koenig will correct me if I'm wrong :-) While it was true that nested class declarations were treated as being declared with global scope, C++ 2.1 now supports nested scoping so class out { class in { } } only out knows about in (helps keep the name space clean of supporting classes) I have to wonder, though, how much code will break because of this..... (Actually, I wish this had been supported since the beginning, but better late than never...) david wood