Hi everyone,

i would like to write operator overloading functions (like addition, subtraction etc) on a single dimension array in a class. The functions should be of type friend functions. .

This is the function name:
friend const Array operator +(const Array& array1);

If the above piece of code is correct, what would be the remaining code for overloading the + function?