www.digitalmars.com         C & C++   DMDScript  

c++ - template template arguments

reply Christof Meerwald <cmeerw web.de> writes:
Boost's lambda library makes use of template template arguments (see 14.3.3
Template template arguments [temp.arg.template]):

template<class T>
struct A
{ };

template<template<class T> class T1> struct B
// Error: '>' expected
// Internal error: template 1670
{ };

int main()
{
  B<A> b;

  return 0;
}


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw jabber.at
mailto cmeerw at web.de

...and what have you contributed to the Net?
Mar 23 2003
parent "Walter" <walter digitalmars.com> writes:
"Christof Meerwald" <cmeerw web.de> wrote in message
news:b5k3d5$um3$2 digitaldaemon.com...
 Boost's lambda library makes use of template template arguments (see
14.3.3
 Template template arguments [temp.arg.template]):
That's not implemented yet, I'll try to get it in in the next go-round.
Mar 23 2003