This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bug in templates in 2.91.66


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]