Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #8560

Re: GCC: 'X is not a template type' error

From Miles Bader <miles@gnu.org>
Newsgroups comp.lang.c++
Subject Re: GCC: 'X is not a template type' error
Date 2011-08-08 17:38 +0900
Organization NEC Electronics
Message-ID <buomxfke1r8.fsf@dhlpc061.dev.necel.com> (permalink)
References <5a1c143f-fa1d-4731-9908-8cd28cfe88a2@d32g2000yqa.googlegroups.com> <j1kslt$eq8$1@speranza.aioe.org>

Show all headers | View raw


Qi <no@no.com> writes:
> M should template template parameter.
> So it should be
>
> template <class C, template<class> class M>

Whoa... you can do that...?!

-miles

-- 
Un-American, adj. Wicked, intolerable, heathenish.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

GCC: 'X is not a template type' error Jeffrey Walton <noloader@gmail.com> - 2011-08-06 18:41 -0700
  Re: GCC: 'X is not a template type' error Qi <no@no.com> - 2011-08-07 10:15 +0800
    Re: GCC: 'X is not a template type' error Miles Bader <miles@gnu.org> - 2011-08-08 17:38 +0900

csiph-web