March 23, 2003 template template arguments | ||||
---|---|---|---|---|
| ||||
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?
|
March 23, 2003 Re: template template arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Meerwald | "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. |
Copyright © 1999-2021 by the D Language Foundation