This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See for the official list.


181. Errors in template template-parameter example

Section:  [temp.deduct.type]     Status: TC1     Submitter: John Spicer     Date: 4 Nov 1999 [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 in ISO/IEC 14882:2003.]