12345678910111213
template<class Type> class myClass { friend void foo(); public: ... }; template<class Type> void myClass<Type>::foo() { ... }
21:90 C:\UNISA MODULES\COS2611\MY PROJECTS\Assignment_2Q1a.cpp [Warning] friend declaration 'void deleteOc(const unoderedLinkedList<Type>&, unoderedLinkedList<Type>&)' declares a non-template function [-Wnon-template-friend] [Linker Error] undefined reference to `deleteOc(unoderedLinkedList<char> const&, unoderedLinkedList<char>&)'