Topic: inconsitent changes to 7.1.5.3/2 in n2134


Author: jkherciueh@gmx.net (Kai-Uwe Bux)
Date: Tue, 20 Feb 2007 17:42:54 GMT
Raw View
I just compared clause [7.1.5.3/2] in the current standard and the draft
n2134.

Current:

  ... If the identifier resolves to a typedefname or a template
  type-parameter, the elaborated-type-specifier is ill-formed. [Note: this
  implies that, within a class template with a template type-parameter T,
  the declaration

    friend class T;

  is ill-formed. ]

n2134:

  ... If the identifier resolves to a typedef-name, the
  elaborated-type-specifier is ill-formed. [ Note: this implies that, within
  a class template with a template type-parameter T, the declaration

    friend class T;

  is ill-formed. ?end note ]

I observed, very much to my delight, that the template type-parameter
provision disappeared. However, now, I do not understand why the note is
not gone along with it. Is that an oversight, or am I missing something?


Best

Kai-Uwe Bux

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]