I read the following code piece.
vector<vector<int>> result;
//level is an integer. 
if (level > result.size())
     result.push_back(vector<int>());
I'm wondering:
What does vector<int>()  create, an object or a pointer of vector?
I think it should be a vector object, instead of a pointer of vector. Otherwise, it won't compile.
However, I feel that vector<int>() is similar to new vector<int>() .
Maybe I missed something?
I really appreciate it if you could point out the knowledge point I missed.
Thank you very much!
 
    