vector& operator=(const vector&); 求解释
class vector {int sz;
double* elem;
void copy(const vector& arg); // copy elements from arg into *elem
public:
vector(int s) :sz(s), elem(new double[s]) { } // constructor
~vector() { delete[] elem; } // destructor
// int size() const { return sz; } // the current size
double get(int n) { return elem[n]; } // access: read
void set(int n, double v) { elem[n]=v; } // access: write
vector& operator=(const vector&);
};
请问各位vector& operator=(const vector&); 这句从语法上怎么解释,谢谢