New to C++ and I need help understanding what a piece of code does. I was given a header file with a bunch of functions I need to define but I'm a little lost on what one means or how I would even begin to define it.
HERE IT IS:List& operator = (const List& source);
Also if you could show me how I would begin to define it that would really help. Because so far this is how I learned to define functions:
ClassName::FunctionName {
//Code goes here
}
So is this how I would do it?
List::List& {
//Code goes here
}