Created on 2010-08-02.00:00:00 last changed 142 months ago
[Voted into the WP at the November, 2010 meeting.]
Proposed resolution (September, 2010):
Change 11.4.2 [class.mfct] paragraph 7 as follows:
MemberPreviously-declared member functions may be mentioned in friend declarationsafter their class has been defined.
The current wording of 11.4.2 [class.mfct] paragraph 7 allows friend declarations to name member functions “after their class has been defined.” This appears to prohibit a friend declaration in a nested class defined inside its containing class that names a member function of the containing class, because the containing class is still considered to be incomplete at that point.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-03 00:00:00 | admin | set | status: fdis -> c++11 |
| 2011-04-10 00:00:00 | admin | set | status: dr -> fdis |
| 2010-11-29 00:00:00 | admin | set | messages: + msg3181 |
| 2010-11-29 00:00:00 | admin | set | status: tentatively ready -> dr |
| 2010-10-18 00:00:00 | admin | set | messages: + msg2986 |
| 2010-10-18 00:00:00 | admin | set | status: drafting -> tentatively ready |
| 2010-08-02 00:00:00 | admin | create | |