
17 Jun
2007
17 Jun
'07
8:48 a.m.
Hi!
Isn't that second allocation that of expanding the vector?
Yes. Now everything is clear for me. I have checked, that with huge objects, and even there are two allocations there is only one allocation of huge object. I was little suprise, because std::vector allocate only once. Sorry for the mess. Thanks. Regards. -- |\/\/| Seweryn Habdank-Wojewódzki \/\/