Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 23, 2001 Internal error: template 990 | ||||
---|---|---|---|---|
| ||||
Here is a small test-case:
template<void f(int x)>
struct A
{ };
void func(int x);
typedef A<func> B;
BTW, I can compile it if I omit the "x" from the first line:
"template<void f(int)>"
bye, Christof
--
http://cmeerw.cjb.net Jabber: cmeerw@jabber.at mailto cmeerw at web.de ICQ: 93773535, Yahoo!: cmeerw
...and what have you contributed to the Net?
|
October 24, 2001 Re: Internal error: template 990 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Meerwald | These are all great bug reports. Have you a test suite, or just a large body of template code? Christof Meerwald wrote in message <9r4u9j$14u7$2@digitaldaemon.com>... >Here is a small test-case: > >template<void f(int x)> >struct A >{ }; > >void func(int x); >typedef A<func> B; > > >BTW, I can compile it if I omit the "x" from the first line: >"template<void f(int)>" > > >bye, Christof > >-- >http://cmeerw.cjb.net Jabber: cmeerw@jabber.at mailto cmeerw at web.de ICQ: 93773535, Yahoo!: cmeerw > >...and what have you contributed to the Net? |
October 24, 2001 Re: Internal error: template 990 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | On Tue, 23 Oct 2001 21:03:17 -0700, Walter wrote: > These are all great bug reports. Have you a test suite, or just a large body of template code? No, I am currently just trying to compile the libraries I am using in my projects: STLport (that's where I have extracted most of the template related test-cases), omniORB, boost. I hope someday I will be able to compile and use all these libraries with DM. > Christof Meerwald wrote in message <9r4u9j$14u7$2@digitaldaemon.com>... >>template<void f(int x)> >>struct A This was one of the rare cases where I used templates in my own code. bye, Christof -- http://cmeerw.cjb.net Jabber: cmeerw@jabber.at mailto cmeerw at web.de ICQ: 93773535, Yahoo!: cmeerw ...and what have you contributed to the Net? |
October 24, 2001 Re: Internal error: template 990 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christof Meerwald | I'll try to get them all fixed! Christof Meerwald wrote in message <9r687q$2577$1@digitaldaemon.com>... >On Tue, 23 Oct 2001 21:03:17 -0700, Walter wrote: >> These are all great bug reports. Have you a test suite, or just a large body >> of template code? > >No, I am currently just trying to compile the libraries I am using in my projects: STLport (that's where I have extracted most of the template related test-cases), omniORB, boost. > >I hope someday I will be able to compile and use all these libraries with DM. > > >> Christof Meerwald wrote in message <9r4u9j$14u7$2@digitaldaemon.com>... >>>template<void f(int x)> >>>struct A > >This was one of the rare cases where I used templates in my own code. > > >bye, Christof > >-- >http://cmeerw.cjb.net Jabber: cmeerw@jabber.at mailto cmeerw at web.de ICQ: 93773535, Yahoo!: cmeerw > >...and what have you contributed to the Net? |
Copyright © 1999-2021 by the D Language Foundation