www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - template template arguments

↑ ↓ ← 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
↑ ↓ → "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

 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