This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 113d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-03-20


1909. Member class template with the same name as the class

Section: 11.4  [class.mem]     Status: CD4     Submitter: Richard Smith     Date: 2014-04-01

[Moved to DR at the November, 2014 meeting.]

The list in 11.4 [class.mem] paragraph 14 of the kinds of class members whose names must differ from that of the class does not include an entry for a member class template. Presumably it should.

Proposed resolution (October, 2014):

Change 11.4 [class.mem] paragraph 14 as follows:

If T is the name of a class, then each of the following shall have a name different from T: