cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Operator overloading for template class
Operator overloading for template class linked lists
Nov 3, 2016 at 9:03pm UTC
Dekker1
(3)
Hello
How do you overload the following linked lists?
template<class T>
LinkedList<T>& LinkedList<T>::operator+(const LinkedList<T>& other)
{
}
template<class T>
LinkedList<T>& LinkedList<T>::operator=(const LinkedList<T>& other){
}
Last edited on
Nov 3, 2016 at 9:05pm UTC
Topic archived. No new replies allowed.