This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bug in templates in 2.91.66
- To: pike at CS dot Berkeley dot EDU
- Subject: Re: bug in templates in 2.91.66
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Sat, 27 May 2000 10:35:56 +0200
- CC: bug-gcc at gnu dot org
- References: <200005042152.OAA04066@helen.CS.Berkeley.EDU>
> Bug in templates. Have not tried this code on any other versions of
> g++ or any other compiler.
Thanks for your bug report. gcc-2.95.2 says
lazylist.h: In function `class lazylist<int> * append<int>(lazylist<int> *, lazylist<int> *)':
testLazy.cc:42: instantiated from here
lazylist.h:338: no matching function for call to `ll ({unknown type}, pair<lazylist<int> *,lazylist<int> *> *)'
so the bug has been fixed.
Regards,
Martin