Who can give me a link for the operator= of vector in MSDN?
- by 8888q8888
Who can give me a link for the operator= of vector in MSDN?
Why I can only find operator[]?
If operator= is just something default, like copy everything in A to B, how this following code works?
vector<double> v(100,1);
v = vector<double>(200,2); // if operator= is just a trivail version, how to make sure the old v get cleared?