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

2025-12-19


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:



Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant