Can someone show me where exactly to put the '<>' as recommended in the errata to avoid the warning you get when you're trying to overload the ostream operator in linkedListType class?
(b) This type of error occurs when friend functions are used in conjunction with template
MyList.h:18: warning: friend declaration 'stdstream&
operator<<(stdstream&, const MyList<Type>&' declares a non-template
You need to insert <> after the operator<< in the class definition only. This should get rid of the
I've tried putting it on all possible places but I still get the same freakin error message. It's even worse when I try to use the new compiler we were given!