For c++ STL we can insert new value by using "push_back", is there a push_back times limit if we never pop_back?
In other words, what is the maximum size of vector?
Because when declare vector, we don't need to specify the size of vector, so I am not sure the maximum size of vector.
Thanks.
I just print out v.max_size(), it is 9223372036854775807 in xcode, I think this is the size limit.