As Luchian says, it is likely but not required that sizeof(vector<int>) == sizeof(vector<vertexNodeInfo>)
.
Furthermore, I don't believe the standard makes any requirement as to the capacity
of a default-initialized vector:
Initial capacity of vector in C++
So it's permitted to have a capacity of 10, meaning that it has allocated enough memory for 10 elements up front. Then the size of this allocation would of course depend on the size of the elements. You don't exactly define what you mean by "how big, memory-wise", but if you mean to include dynamic allocations then this would be one.
I don't think that would be a very good implementation of vector
, but it conforms to the standard.