Looks like a stupid question. But comment to my answer to one of the SO question made me to think again.
[ comment says, capacity need not be zero for empty vector]
By default my answer would be 0 as there are no elements inside vector. It makes sense to keep the capacity as 0 and on the first allocation it can be increased without any performance hits.
But standard does not say anything one this. ( I checked in Josuttis book as well).
Is it purely implementation specific? Does any STL vendor use some arbitrary number as capcity for the empty vector?
Any thoughts...