It makes sense to allow any integer in that range. I don't think it would be common to use one of the values in between though. The use cases I see are either using only the size you asked for, or recording the real capacity for future use in a type like a vector or hash table.