std::vector<int> v; v.assign(50,100); v.assign(30,100); Is it necessary to clear the memory of v[30], v[31], ..., v[49] ?
std::vector<int> v; v.assign(50,100); v.assign(30,100); Is it necessary to clear the memory of v[30], v[31], ..., v[49] ?
Source: https://ru.stackoverflow.com/questions/523544/
All Articles