Created on 1998-12-05.00:00:00 last changed 208 months ago
Proposed resolution (10/00):
In addition, if class T has a user-declared constructor (15.1 [class.ctor] ), every nonstatic data member of class T shall have a name different from T.
Between the May '96 and September '96 working papers, the text in 12.2 [class.mem] paragraph 13:
If T is the name of a class, then each of the following shall have a name different from T:was changed by removing the word 'static'. Looking over the meeting minutes from Stockholm, none of the proposals seem to include this change, which breaks C compatibility and is not mentioned in the compatibility annex. Was this change actually voted in by the committee?
- every static data member of class T;
Specifically, this breaks /usr/include/netinet/in.h under Linux, in which "struct ip_opts" shares its name with one of its members.
|2003-04-25 00:00:00||admin||set||status: dr -> tc1|
|2000-11-18 00:00:00||admin||set||status: ready -> dr|
|2000-05-21 00:00:00||admin||set||status: review -> ready|
|2000-02-23 00:00:00||admin||set||messages: + msg226|
|2000-02-23 00:00:00||admin||set||status: open -> review|