If I create a vector vec by writing
is the constructor of the vector class called or not?Code:vector<int> vec;
If not, is vec.size() is undefined?
I know I can always write
orCode:vector<int> vec();
etc, but I think I have a lot of old programs where I haven't, and I would like to know if I have to modify them.Code:vector<int> vec() = new vector<int>;