I know that if vector needs more memory, it allocates new, and somethimes will reallocate his elements. I got a question. Is there any way to check exactly when vector will allocate new memory, and (that's more important) how much will he allocate?
I guess allocation will start exactly when there is no more memory left, and that's why I'm more interested in realloction.