Title
Errors in template template-parameter example
Status
tc1
Section
13.10.3.6 [temp.deduct.type]
Submitter
John Spicer

Created on 1999-11-04.00:00:00 last changed 262 months ago

Messages

Date: 2000-10-15.00:00:00

Proposed resolution (10/00): As suggested.

[Note: this section was numbered 14.8.2.4 in ISO/IEC 14882:2003.]

Date: 2022-11-20.07:54:16

13.10.3.6 [temp.deduct.type] paragraph 18 uses incorrect syntax. Instead of

    template <template X<class T> > struct A { };
    template <template X<class T> > void f(A<X>) { }
it should be
    template <template <class T> class X> struct A { };
    template <template <class T> class X> void f(A<X>) { }

Proposed resolution (10/00): As suggested.

[Note: this section was numbered 14.8.2.4 in ISO/IEC 14882:2003.]

History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-11-18 00:00:00adminsetmessages: + msg455
2000-11-18 00:00:00adminsetstatus: ready -> dr
2000-05-21 00:00:00adminsetstatus: open -> ready
1999-11-04 00:00:00admincreate