Created on 1999-08-26.00:00:00 last changed 228 months ago
Proposed resolution (10/99): change "protected nonstatic member" in the above to "protected nonstatic member function or protected nonstatic data member" to make the intent clear.
11.8.5 [class.protected] paragraph 1 begins:
When a friend or a member function of a derived class references a protected nonstatic member of a base class, an access check applies in addition to those described earlier in clause 11.8 [class.access] .
This was intended to refer to nonstatic member functions and nonstatic data members. However, a protected nested type declared in a base class is, by some definition of the word, a "nonstatic" member, and therefore subject to this additional access check.
|2003-04-25 00:00:00||admin||set||status: dr -> tc1|
|2000-02-23 00:00:00||admin||set||messages: + msg300|
|2000-02-23 00:00:00||admin||set||status: open -> dr|