bug in templates in 2.91.66
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Sat May 27 01:37:00 GMT 2000
> 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
More information about the Gcc-bugs
mailing list